mirror of
https://github.com/restic/restic.git
synced 2024-12-21 23:33:03 +00:00
Refactor Makefiles
This commit is contained in:
parent
16d7974b3f
commit
017426467b
2 changed files with 7 additions and 10 deletions
10
Makefile
10
Makefile
|
@ -2,9 +2,13 @@
|
|||
|
||||
test:
|
||||
go test
|
||||
$(MAKE) -C cmd/khepri
|
||||
test/run.sh cmd/khepri/khepri
|
||||
for dir in cmd/* ; do \
|
||||
(cd "$$dir"; go build) \
|
||||
done
|
||||
test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff
|
||||
|
||||
clean:
|
||||
go clean
|
||||
$(MAKE) -C cmd/khepri test
|
||||
for dir in cmd/* ; do \
|
||||
(cd "$$dir"; go clean) \
|
||||
done
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
.PHONY: clean all test
|
||||
|
||||
test:
|
||||
go build
|
||||
|
||||
clean:
|
||||
go clean
|
Loading…
Reference in a new issue