From ec61d24fd47fcde245c63a5d2effdd4f40fe1b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Mon, 6 Sep 2021 09:01:05 +0300 Subject: [PATCH] [nit] Makefile style --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5b3a089..7a1d5da 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,5 @@ SCRIPTS = $(shell awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(shell git ls-files)) GODEPS = $(shell git ls-files '*.go' go.mod go.sum) -GOBIN = $(shell go env GOPATH)/bin/ GOOSARCHS = $(sort darwin/amd64 linux/amd64) VSN ?= $(shell git describe --dirty) @@ -32,7 +31,7 @@ sha256sum-asc: sha256sum-$(VSN).txt.asc .PHONY: lint lint: go vet ./... - $(GOBIN)staticcheck -f stylish ./... + $(shell go env GOPATH)/bin/staticcheck -f stylish ./... shellcheck $(SCRIPTS) .INTERMEDIATE: coverage.out