diff options
| author | Jeff Carr <[email protected]> | 2024-11-29 09:14:30 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-29 09:14:30 -0600 |
| commit | 1c0234a442a428df859d28f718ca207a8f859ba5 (patch) | |
| tree | fd9e15846ad610ef08f54c502ceb5736ae96f6aa /testautogen/Makefile | |
| parent | f145e6e74eff9e529623468840084583fe6800c8 (diff) | |
make test
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'testautogen/Makefile')
| -rw-r--r-- | testautogen/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testautogen/Makefile b/testautogen/Makefile new file mode 100644 index 0000000..82e2b69 --- /dev/null +++ b/testautogen/Makefile @@ -0,0 +1,28 @@ +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d) + +run: clean test.pb.go goimports vet + +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 |
