We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db8205f commit 97ec61bCopy full SHA for 97ec61b
Makefile
@@ -313,7 +313,12 @@ endif
313
314
gitlint:
315
ifeq (, $(shell command -v gitlint ;))
316
- $(error "gitlint not found in PATH")
+ @echo "gitlint not found in PATH, checking $(GOBIN_ALT)"
317
+ifeq (, $(shell command -v $(GOBIN_ALT)/gitlint ;))
318
+ @$(call installtool, --gitlint)
319
+ @echo "gitlint installed in $(GOBIN_ALT)"
320
+endif
321
+GITLINT=$(GOBIN_ALT)/gitlint
322
else
323
GITLINT=$(shell command -v gitlint ;)
324
endif
0 commit comments