summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b15cd9a..67794f9 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ build:
cp -f autogenpb autogenpb.${BUILDTIME}
bak:
- cp -f autogenpb autogenpb.last
+ -cp -f autogenpb autogenpb.last
redo-protobuf:
rm -f *.pb.go
@@ -63,9 +63,13 @@ proto:
#
# use the current autogenpb
-proto-local: bak clean
+proto-local-noformat: bak clean
./autogenpb.last --proto file.proto --package main --no-format
+# use the current autogenpb
+proto-local-format: bak clean
+ ./autogenpb.last --proto file.proto --package main
+
junk:
cd example; rm -f go.* *.pb.go
cd example; ../autogenpb --proto file.proto --package yellow