[nit] Makefile style
This commit is contained in:
parent
d3933efd74
commit
ec61d24fd4
3
Makefile
3
Makefile
@ -1,6 +1,5 @@
|
|||||||
SCRIPTS = $(shell awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(shell git ls-files))
|
SCRIPTS = $(shell awk '/#!\/bin\/(ba)?sh/&&FNR==1{print FILENAME}' $(shell git ls-files))
|
||||||
GODEPS = $(shell git ls-files '*.go' go.mod go.sum)
|
GODEPS = $(shell git ls-files '*.go' go.mod go.sum)
|
||||||
GOBIN = $(shell go env GOPATH)/bin/
|
|
||||||
GOOSARCHS = $(sort darwin/amd64 linux/amd64)
|
GOOSARCHS = $(sort darwin/amd64 linux/amd64)
|
||||||
|
|
||||||
VSN ?= $(shell git describe --dirty)
|
VSN ?= $(shell git describe --dirty)
|
||||||
@ -32,7 +31,7 @@ sha256sum-asc: sha256sum-$(VSN).txt.asc
|
|||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
go vet ./...
|
go vet ./...
|
||||||
$(GOBIN)staticcheck -f stylish ./...
|
$(shell go env GOPATH)/bin/staticcheck -f stylish ./...
|
||||||
shellcheck $(SCRIPTS)
|
shellcheck $(SCRIPTS)
|
||||||
|
|
||||||
.INTERMEDIATE: coverage.out
|
.INTERMEDIATE: coverage.out
|
||||||
|
Loading…
Reference in New Issue
Block a user