Skip to content

Commit 8948dfc

Browse files
committed
Let lint-protovalidate depend on the buf target
1 parent b6a69f8 commit 8948dfc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ lint-proto: | $(BIN)/buf
5858
$(MAKE) lint-protovalidate
5959

6060
.PHONY: lint-protovalidate
61-
lint-protovalidate:
62-
$(GO) run ./tools/internal/protovalidate-check proto/protovalidate
61+
lint-protovalidate: | $(BIN)/buf # Check invariants of validate.proto
62+
PATH="$(abspath $(BIN)):$$PATH" $(GO) run ./tools/internal/protovalidate-check proto/protovalidate
6363

6464
.PHONY: conformance
6565
conformance: ## Build conformance harness

0 commit comments

Comments
 (0)