2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-15 17:47:21 +00:00
restic/Makefile

23 lines
346 B
Makefile
Raw Normal View History

2015-06-24 17:57:27 +00:00
.PHONY: all clean test
2015-05-11 19:09:32 +00:00
SOURCE=$(wildcard *.go) $(wildcard */*.go) $(wildcard */*/*.go)
2015-05-10 20:43:42 +00:00
export GOPATH GOX_OS
all: restic
2015-06-24 17:57:27 +00:00
restic: $(SOURCE)
go run build.go
2015-05-10 20:43:42 +00:00
2015-06-24 17:57:27 +00:00
restic.debug: $(SOURCE)
go run build.go -tags debug
2014-08-05 21:13:19 +00:00
clean:
2015-06-24 17:57:27 +00:00
rm -rf restic restic.debug
2015-06-24 17:57:27 +00:00
test: $(SOURCE)
go run run_tests.go /dev/null
2015-06-24 17:57:27 +00:00
all.cov: $(SOURCE)
go run run_tests.go all.cov