Skip to content

Commit

Permalink
Makefile: fix bazel -> $(BAZEL) for some targets (#56)
Browse files Browse the repository at this point in the history
Relatively minor issue: some targets directly invoke `bazel` instead of
using the `$(BAZEL)` variable. The upshot of this is that e.g. `make
BAZEL=bazelisk` does not work as expected as some calls will not use
`bazelisk` as expected.
  • Loading branch information
jchadwick-buf authored Jul 23, 2024
1 parent 98a7f0d commit 66834e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ generate: generate-license ## Regenerate code and license headers

.PHONY: test
test: generate ## Run all unit tests
bazel test --test_output=errors //...
$(BAZEL) test --test_output=errors //...

.PHONY: build
build: ## Build the project
bazel build //...
$(BAZEL) build //...

.PHONY: conformance
conformance: $(BIN)/protovalidate-conformance
Expand Down

0 comments on commit 66834e0

Please sign in to comment.