mirror of
https://github.com/octoleo/restic.git
synced 2025-04-04 22:41:50 +00:00
Refactor Makefiles
This commit is contained in:
parent
16d7974b3f
commit
017426467b
10
Makefile
10
Makefile
@ -2,9 +2,13 @@
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
go test
|
go test
|
||||||
$(MAKE) -C cmd/khepri
|
for dir in cmd/* ; do \
|
||||||
test/run.sh cmd/khepri/khepri
|
(cd "$$dir"; go build) \
|
||||||
|
done
|
||||||
|
test/run.sh cmd/khepri/khepri cmd/dirdiff/dirdiff
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
go 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…
x
Reference in New Issue
Block a user