File tree Expand file tree Collapse file tree 3 files changed +169
-167
lines changed
Expand file tree Collapse file tree 3 files changed +169
-167
lines changed Original file line number Diff line number Diff line change 2727empty :=
2828space := $(empty ) $(empty )
2929PACKAGE := github.com/solo-io/protoc-gen-ext
30+ GOGO_OUTPUT := github.com/gogo/protobuf/gogoproto/*
3031
3132# protoc-gen-go parameters for properly generating the import path for PGV
3233EXT_IMPORT := Mhash/hash.proto=${PACKAGE}/ext
@@ -44,7 +45,9 @@ PHONE: generated-code
4445generated-code :
4546 protoc -I=. --go_out=" ${EXT_IMPORT} :." extproto/ext.proto
4647 protoc -I=. --go_out=" ${EXT_IMPORT} :." extproto/gogoproto/gogo.proto
47- cp -r ${PACKAGE} /extproto/ extproto; rm -rf github.com
48+ cp -r ${PACKAGE} /extproto/ extproto
49+ cp -r ${GOGO_OUTPUT} extproto/gogoproto
50+ rm -rf github.com
4851 protoc -I=. -I=./vendor/github.com/gogo/protobuf --go_out=" ." --ext_out=" ." tests/api/hello.proto
4952
5053
You can’t perform that action at this time.
0 commit comments