1
0

Put .PHONY in front of each target in Makefile (#118)

This commit is contained in:
Markus Wüstenberg 2022-11-15 22:32:01 +01:00 committed by GitHub
parent 868a525244
commit c615204215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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