mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
23 lines
346 B
Makefile
23 lines
346 B
Makefile
.PHONY: all clean test
|
|
|
|
SOURCE=$(wildcard *.go) $(wildcard */*.go) $(wildcard */*/*.go)
|
|
|
|
export GOPATH GOX_OS
|
|
|
|
all: restic
|
|
|
|
restic: $(SOURCE)
|
|
go run build.go
|
|
|
|
restic.debug: $(SOURCE)
|
|
go run build.go -tags debug
|
|
|
|
clean:
|
|
rm -rf restic restic.debug
|
|
|
|
test: $(SOURCE)
|
|
go run run_tests.go /dev/null
|
|
|
|
all.cov: $(SOURCE)
|
|
go run run_tests.go all.cov
|