mirror of
https://github.com/wader/fq.git
synced 2025-01-07 06:36:26 +03:00
make: Mark actual and cover as phony
This commit is contained in:
parent
aa38ccf0e1
commit
263a77f4d6
2
Makefile
2
Makefile
@ -26,9 +26,11 @@ testjq: fq
|
|||||||
testcli: fq
|
testcli: fq
|
||||||
@pkg/cli/test.sh ./fq pkg/cli/test.exp
|
@pkg/cli/test.sh ./fq pkg/cli/test.exp
|
||||||
|
|
||||||
|
.PHONY: actual
|
||||||
actual: export WRITE_ACTUAL=1
|
actual: export WRITE_ACTUAL=1
|
||||||
actual: testgo
|
actual: testgo
|
||||||
|
|
||||||
|
.PHONY: cover
|
||||||
cover: COVER=-cover -race -coverpkg=./... -coverprofile=cover.out
|
cover: COVER=-cover -race -coverpkg=./... -coverprofile=cover.out
|
||||||
cover: test
|
cover: test
|
||||||
go tool cover -html=cover.out -o cover.out.html
|
go tool cover -html=cover.out -o cover.out.html
|
||||||
|
Loading…
Reference in New Issue
Block a user