diff options
Diffstat (limited to 'testfiles/Makefile')
| -rw-r--r-- | testfiles/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testfiles/Makefile b/testfiles/Makefile new file mode 100644 index 0000000..bc4405b --- /dev/null +++ b/testfiles/Makefile @@ -0,0 +1,23 @@ +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d_%H%M) + +full: clean goimports auto vet build + ./testfiles + +vet: + @GO111MODULE=off go vet + @echo this go binary package should build okay + +build: + GO111MODULE=off go build + +auto: + ../autogenpb --proto auto.proto --package main + +goimports: + goimports -w *.go + +clean: + -rm -f go.* + -rm -f *.pb.go + -rm -f testfiles |
