commit ec61d24fd47fcde245c63a5d2effdd4f40fe1b63 (tree)
parent d3933efd7402c79d5baba3d730e1cc9646e74bad
Author: Motiejus Jakštys <motiejus@jakstys.lt>
Date: Mon, 6 Sep 2021 09:01:05 +0300
[nit] Makefile style
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git 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