[nit] Makefile style

This commit is contained in:
Motiejus Jakštys 2021-09-06 09:01:05 +03:00 committed by Motiejus Jakštys
parent d3933efd74
commit ec61d24fd4

View File

@ -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