summaryrefslogtreecommitdiff
path: root/testautogen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testautogen/Makefile')
-rw-r--r--testautogen/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/testautogen/Makefile b/testautogen/Makefile
deleted file mode 100644
index a2bafb3..0000000
--- a/testautogen/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-VERSION = $(shell git describe --tags)
-BUILDTIME = $(shell date +%Y.%m.%d)
-
-test: vet
-
-all: clean test.pb.go forgeConfig.pb.go run
-
-run:
- ../autogenpb --proto test.proto --lobase gitTag --upbase GitTag --sort "ByPath,Refname" --sort "BySubject,Subject" --marshal GitTags --append Bling
- ../autogenpb --proto forgeConfig.proto --sort "ByPath,GoPath" # --append GoPath
-
-vet:
- @GO111MODULE=off go vet
- @echo this go library package builds okay
-
-goimports:
- goimports -w *.go
-
-redomod:
- rm -f go.*
- GO111MODULE= go mod init
- GO111MODULE= go mod tidy
-
-reset:
- # clear your terminal
- reset
-
-clean:
- -rm -f *.pb.go
-
-test.pb.go: test.proto
- cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/apps/autogenpb/testautogen \
- --go_opt=Mtest.proto=go.wit.com/apps/autogenpb/testautogen \
- test.proto
-
-forgeConfig.pb.go: forgeConfig.proto
- cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/apps/autogenpb/testautogen \
- --go_opt=MforgeConfig.proto=go.wit.com/apps/autogenpb/testautogen \
- forgeConfig.proto