Try upgrade protoc_gen.sh
continuous-integration/drone/push Build is passing Details

Signed-off-by: René Jochum <rene@jochum.dev>
René Jochum 2 years ago
parent 9f054c4ec5
commit 389a8fb273

@ -1,2 +1,2 @@
#!/bin/sh
find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); PATH=$PATH:/go/bin protoc --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}'
find . -name '*.proto' -print0 | xargs -0 -I {} /bin/sh -c 'cd $(dirname $1); protoc --proto_path=$GOPATH/bin:. -I/code --micro_out=paths=source_relative:. --go_out=paths=source_relative:. $(basename $1)' '_' '{}'
Loading…
Cancel
Save