summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 89c133d..4ddec1f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-test: goimports build auto
+test: goimports build test
full: clean goimports auto vet install
@@ -27,7 +27,10 @@ auto.pb.go: auto.proto
./autogenpb --proto auto.proto --package testfiles
rm -f auto.sort.pb.go auto.marshal.pb.go
-auto:
+test:
+ make -C testfiles full
+
+junk:
cd testfiles; rm -f go.* *.pb.go
cd testfiles; ../autogenpb --proto auto.proto --package yellow
cd testfiles; GO111MODULE=off go vet