2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 10:05:25 +00:00
restic/Makefile

17 lines
246 B
Makefile
Raw Normal View History

2014-08-05 21:13:19 +00:00
.PHONY: clean all test
2014-11-24 21:19:48 +00:00
FLAGS=
#FLAGS+=-race
2014-08-05 21:13:19 +00:00
test:
2014-08-06 18:09:41 +00:00
for dir in cmd/* ; do \
2014-11-24 21:19:48 +00:00
(cd "$$dir"; go build $(FLAGS)) \
2014-08-06 18:09:41 +00:00
done
2014-12-05 20:45:49 +00:00
test/run.sh cmd/restic/restic cmd/dirdiff/dirdiff
2014-08-05 21:13:19 +00:00
clean:
go clean
2014-08-06 18:09:41 +00:00
for dir in cmd/* ; do \
(cd "$$dir"; go clean) \
done