summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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