diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 16:02:53 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 16:02:53 -0600 |
| commit | b1961c371da567692314f775f9bdcb95837d9278 (patch) | |
| tree | 0aebbe3b1246aef3e9265452da6176d83f7d6464 /example | |
| parent | fe98085712189edea536d9207b40f8b0daf826ef (diff) | |
auto test both. logic is correct now. seems to work
Diffstat (limited to 'example')
| -rw-r--r-- | example/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/example/Makefile b/example/Makefile index a489ec4..c744d23 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,7 +1,10 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d_%H%M) -full: clean auto goimports vet build +modproto: clean withMutex goimports vet build + ./example + +rawproto: clean withoutMutex goimports vet build ./example vet: @@ -10,9 +13,12 @@ vet: build: GO111MODULE=off go build -auto: +withMutex: ../autogenpb --proto fruit.proto --package main --mutex +withoutMutex: + ../autogenpb --proto fruit.proto --package main + goimports: goimports -w *.go |
