Skip to content

Commit

Permalink
Add buflintdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
bufdev committed Aug 19, 2024
1 parent f0d6cad commit 39e335c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion make/go/buf.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,14 @@ endif

pregenerate:: bufgenerate

.PHONY: buflintdeps
buflintdeps:: $(BUF)

ifneq ($(BUF_LINT_INPUT),)
.PHONY: buflint
buflint: $(BUF)
buflint:
@echo make buflintdeps
@$(MAKE) buflintdeps
@echo buf lint $(BUF_LINT_INPUT)
@$(BUF_BIN) lint $(BUF_LINT_INPUT)

Expand Down

0 comments on commit 39e335c

Please sign in to comment.