autogenpb
This commit is contained in:
parent
d3e1a7ec8f
commit
75dd87e307
4
Makefile
4
Makefile
|
@ -35,8 +35,4 @@ install:
|
||||||
make -C forgeConfig install
|
make -C forgeConfig install
|
||||||
|
|
||||||
forgeConfig.pb.go: forgeConfig.proto
|
forgeConfig.pb.go: forgeConfig.proto
|
||||||
# I'm using version v1.35.x from google.golang.org/protobuf/cmd/protoc-gen-go
|
|
||||||
cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/forgepb \
|
|
||||||
--go_opt=MforgeConfig.proto=go.wit.com/lib/protobuf/forgepb \
|
|
||||||
forgeConfig.proto
|
|
||||||
autogenpb --proto forgeConfig.proto --sort "ByPath,GoPath" --marshal ForgeConfigs
|
autogenpb --proto forgeConfig.proto --sort "ByPath,GoPath" --marshal ForgeConfigs
|
||||||
|
|
Loading…
Reference in New Issue