summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-09 20:40:00 -0600
committerJeff Carr <[email protected]>2025-01-09 20:40:00 -0600
commit805d3cdcc3f1cb71c80fa32d42755f2d839f22f5 (patch)
treeeb08626bfec7feb3dacafd3855564976aa689298 /Makefile
parentb9fec2e81487b4948a6e221d3768ea4dfb12de42 (diff)
final commit before rolling a new release. (maybe)
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 3d7a726..26dfb7a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-test: goimports build test
+full: clean auto goimports vet build test
+ @echo everything worked and the example ran
-full: clean goimports auto vet build
+test: goimports build test
vet:
@GO111MODULE=off go vet
@@ -29,9 +30,9 @@ install:
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
auto:
- rm -f auto.pb.go
- ./autogenpb --proto file.proto --package main
- rm -f auto.sort.pb.go auto.newsort.pb.go # auto.marshal.pb.go
+ # rm -f auto.pb.go
+ autogenpb --proto file.proto --package main
+ # rm -f auto.sort.pb.go auto.newsort.pb.go # auto.marshal.pb.go
test:
make -C example rawproto