mirror of
https://github.com/octoleo/restic.git
synced 2025-01-03 07:12:28 +00:00
clean up Makefile
This commit is contained in:
parent
0cdbde1bd0
commit
7ebf5397a3
12
Makefile
12
Makefile
@ -1,22 +1,12 @@
|
||||
.PHONY: all clean test
|
||||
|
||||
SOURCE=$(wildcard *.go) $(wildcard */*.go) $(wildcard */*/*.go)
|
||||
|
||||
export GOPATH GOX_OS
|
||||
|
||||
all: restic
|
||||
|
||||
restic: $(SOURCE)
|
||||
go run build.go
|
||||
|
||||
restic.debug: $(SOURCE)
|
||||
go run build.go -tags debug
|
||||
|
||||
clean:
|
||||
rm -rf restic restic.debug
|
||||
rm -rf restic
|
||||
|
||||
test: $(SOURCE)
|
||||
go run run_tests.go /dev/null
|
||||
|
||||
all.cov: $(SOURCE)
|
||||
go run run_tests.go all.cov
|
||||
|
Loading…
Reference in New Issue
Block a user