Put .PHONY in front of each target in Makefile (#118)
This commit is contained in:
parent
868a525244
commit
c615204215
6
Makefile
6
Makefile
@ -1,14 +1,16 @@
|
|||||||
.PHONY: benchmark cover lint test
|
.PHONY: benchmark
|
||||||
|
|
||||||
benchmark:
|
benchmark:
|
||||||
go test -bench=.
|
go test -bench=.
|
||||||
|
|
||||||
|
.PHONY: cover
|
||||||
cover:
|
cover:
|
||||||
go tool cover -html=cover.out
|
go tool cover -html=cover.out
|
||||||
|
|
||||||
|
.PHONY: lint
|
||||||
lint:
|
lint:
|
||||||
golangci-lint run
|
golangci-lint run
|
||||||
|
|
||||||
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
go test -coverprofile=cover.out -shuffle on ./...
|
go test -coverprofile=cover.out -shuffle on ./...
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user