Skip to content

Commit

Permalink
skip dependencies check to force versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Dec 16, 2024
1 parent 406a173 commit 3a913ef
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,10 @@ prepare:
mkdir -p tmp

.PHONY: prereqs
prereqs: ## Test if prerequisites are met, and installing missing dependencies
@echo "### Test if prerequisites are met, and installing missing dependencies"
ifeq (, $(shell which golangci-lint))
prereqs: ## Install dependencies
@echo "### Installing dependencies"
GOFLAGS="" go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}
endif
ifeq (, $(shell which yq))
GOFLAGS="" go install github.com/mikefarah/yq/v4@${YQ_VERSION}
endif

.PHONY: vendors
vendors: ## Refresh vendors directory.
Expand Down

0 comments on commit 3a913ef

Please sign in to comment.