From 3ec7442e18b4f58b08e07850f4138e5d3a80da02 Mon Sep 17 00:00:00 2001 From: James Barclay Date: Fri, 12 Jul 2024 15:59:12 -0400 Subject: [PATCH] Check if golangci-lint is installed. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a961850a..0150b252 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,7 @@ coverage: .PHONY: lint lint: + @command -v golangci-lint || (echo "golangci-lint not installed. See https://golangci-lint.run/welcome/install/"; exit 1) @golangci-lint version golangci-lint --verbose run --timeout=5m ./...