summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-10 17:49:14 -0600
committerJeff Carr <[email protected]>2025-01-10 17:49:14 -0600
commit57f8f88ae9b6622e4df2fe6f1720d711ae8a8819 (patch)
treeefe5329e842ca8ecec7178d13020887c86dce764 /example
parente676c213b16cf997ad43bea23229eb4878ab5b16 (diff)
simple example build test is correct for both mutex
Diffstat (limited to 'example')
-rw-r--r--example/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/example/Makefile b/example/Makefile
index e2673c3..552c332 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -16,9 +16,12 @@ vet:
build:
GO111MODULE=off go build -v
-simple:
+simpleMutexProtoc:
../autogenpb --proto fruit.proto --package main
+simpleMutexGlobal:
+ ../autogenpb --proto fruit.proto --package main --mutex=false
+
withMutex:
../autogenpb --proto fruit.proto --package main
../autogenpb --proto file.proto --package main