Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotmjackson committed Jul 12, 2023
1 parent eb52d52 commit a838401
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ test: ## Run all unit tests
lint: lint-proto lint-go ## Lint code and protos

.PHONY: lint-go
lint-go: $(BIN)/golangci-lint
lint-go: $(BIN)/golangci-lint $(BIN)/checklocks
$(GO) vet ./...
$(GO) vet -vettool=$(BIN)/checklocks ./...
$(BIN)/golangci-lint run ./...

.PHONY: lint-proto
Expand Down Expand Up @@ -96,3 +98,7 @@ $(BIN)/golangci-lint: $(BIN) Makefile
$(BIN)/protovalidate-conformance: $(BIN) Makefile
GOBIN=$(abspath $(BIN)) $(GO) install \
github.com/bufbuild/protovalidate/tools/protovalidate-conformance@latest

$(BIN)/checklocks: Makefile
@mkdir -p $(@D)
GOBIN="$(abspath $(@D))" $(GO) install gvisor.dev/gvisor/tools/checklocks/cmd/[email protected]

0 comments on commit a838401

Please sign in to comment.