mirror of
https://github.com/octoleo/restic.git
synced 2024-12-25 12:09:59 +00:00
Refactor Makefiles
This commit is contained in:
parent
16d7974b3f
commit
017426467b
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 New Issue
Block a user