Skip to content

Commit

Permalink
Merge pull request #7264 from planetscale/make-proto-fix
Browse files Browse the repository at this point in the history
goimport proto files correctly
  • Loading branch information
shlomi-noach committed Jan 7, 2021
2 parents ccd52da + d18baa8 commit 0472d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -182,7 +182,7 @@ endif
$(PROTO_GO_OUTS): install_protoc-gen-go proto/*.proto
for name in $(PROTO_SRC_NAMES); do \
$(VTROOT)/bin/protoc --go_out=plugins=grpc:. -Iproto proto/$${name}.proto && \
goimports -w vitess.io/vitess/go/vt/proto/$${name}/$${name}.pb.go; \
goimports -local vitess.io/vitess -w vitess.io/vitess/go/vt/proto/$${name}/$${name}.pb.go; \
done
cp -Rf vitess.io/vitess/go/vt/proto/* go/vt/proto
rm -rf vitess.io/vitess/go/vt/proto/
Expand Down

0 comments on commit 0472d47

Please sign in to comment.