diff options
| author | Joseph Richey <joerichey@google.com> | 2022-04-09 01:44:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-09 01:44:51 -0700 |
| commit | 53dc5f37339f40e78cd0e91b358322cc9e589185 (patch) | |
| tree | 68eb53440456ff6cc9c6ecef8b0567510de5310a /Makefile | |
| parent | ce8a5583c1cc2327cf65a048cfd1083225dad50e (diff) | |
| parent | ba0a96b04b08f8c8b533d7dab7e6326c5ecd6ace (diff) | |
Merge pull request #354 from google/staticcheck-fix
Upgrade dependencies to latest version
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,7 +98,7 @@ $(PAM_MODULE): $(GO_FILES) $(C_FILES) rm -f $(BIN)/$(PAM_NAME).h gen: $(BIN)/protoc $(BIN)/protoc-gen-go $(PROTO_FILES) - protoc --go_out=. $(PROTO_FILES) + protoc --go_out=. --go_opt=paths=source_relative $(PROTO_FILES) format: $(BIN)/goimports goimports -w $(GO_NONGEN_FILES) @@ -203,7 +203,7 @@ tools: $(TOOLS) $(BIN)/golint: go build -o $@ golang.org/x/lint/golint $(BIN)/protoc-gen-go: - go build -o $@ github.com/golang/protobuf/protoc-gen-go + go build -o $@ google.golang.org/protobuf/cmd/protoc-gen-go $(BIN)/goimports: go build -o $@ golang.org/x/tools/cmd/goimports $(BIN)/staticcheck: |