mirror of
https://github.com/restic/restic.git
synced 2025-01-03 05:35:43 +00:00
clean up Makefile
This commit is contained in:
parent
0cdbde1bd0
commit
7ebf5397a3
1 changed files with 1 additions and 11 deletions
12
Makefile
12
Makefile
|
@ -1,22 +1,12 @@
|
||||||
.PHONY: all clean test
|
.PHONY: all clean test
|
||||||
|
|
||||||
SOURCE=$(wildcard *.go) $(wildcard */*.go) $(wildcard */*/*.go)
|
|
||||||
|
|
||||||
export GOPATH GOX_OS
|
|
||||||
|
|
||||||
all: restic
|
all: restic
|
||||||
|
|
||||||
restic: $(SOURCE)
|
restic: $(SOURCE)
|
||||||
go run build.go
|
go run build.go
|
||||||
|
|
||||||
restic.debug: $(SOURCE)
|
|
||||||
go run build.go -tags debug
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf restic restic.debug
|
rm -rf restic
|
||||||
|
|
||||||
test: $(SOURCE)
|
test: $(SOURCE)
|
||||||
go run run_tests.go /dev/null
|
go run run_tests.go /dev/null
|
||||||
|
|
||||||
all.cov: $(SOURCE)
|
|
||||||
go run run_tests.go all.cov
|
|
||||||
|
|
Loading…
Reference in a new issue