summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-08 19:56:45 -0600
committerJeff Carr <[email protected]>2025-01-08 19:56:45 -0600
commit99c036733bb581fa7bf70562dd25ae55e35461c7 (patch)
treecb147917800ca1ead1a84afc05d0f707458eb8fe /Makefile
parent3fe2fde185b950215008e67a50364ec741f2fd09 (diff)
runs the testfiles/ test
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