Hide which stderr output

Signed-off-by: Bartol Deak <b@bdeak.net>
This commit is contained in:
Bartol Deak 2023-06-12 22:56:44 +02:00 committed by Bryan Boreham
parent 5c1b02ec6e
commit 796842d8a8
2 changed files with 2 additions and 2 deletions

View file

@ -82,7 +82,7 @@ assets-tarball: assets
.PHONY: parser
parser:
@echo ">> running goyacc to generate the .go file."
ifeq (, $(shell which goyacc))
ifeq (, $(shell which goyacc 2>/dev/null))
@echo "goyacc not installed so skipping"
@echo "To install: go install golang.org/x/tools/cmd/goyacc@v0.6.0"
else

View file

@ -180,7 +180,7 @@ endif
.PHONY: common-yamllint
common-yamllint:
@echo ">> running yamllint on all YAML files in the repository"
ifeq (, $(shell which yamllint))
ifeq (, $(shell which yamllint 2>/dev/null))
@echo "yamllint not installed so skipping"
else
yamllint .