Skip to content

Commit

Permalink
Add -m flag to go list subcommand.
Browse files Browse the repository at this point in the history
  • Loading branch information
danilvpetrov committed Dec 11, 2020
1 parent fc13239 commit cf80138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ PROTO_INCLUDE_PATHS ?=
%.pb.go: %.proto artifacts/protobuf/bin/protoc-gen-go artifacts/protobuf/go.proto_paths
PATH="$(MF_PROJECT_ROOT)/artifacts/protobuf/bin:$$PATH" protoc \
--go_out=plugins=grpc:. \
--go_opt=module=$$(go list) \
--go_opt=module=$$(go list -m) \
$$(cat artifacts/protobuf/go.proto_paths) \
$(addprefix --proto_path=,$(PROTO_INCLUDE_PATHS)) \
"$(MF_PROJECT_ROOT)/$(@D)"/*.proto
Expand Down

0 comments on commit cf80138

Please sign in to comment.