1
1
mirror of https://github.com/wader/fq.git synced 2025-01-05 12:26:11 +03:00

make: Mark actual and cover as phony

This commit is contained in:
Mattias Wadman 2021-09-28 13:15:55 +02:00
parent aa38ccf0e1
commit 263a77f4d6

View File

@ -26,9 +26,11 @@ testjq: fq
testcli: fq
@pkg/cli/test.sh ./fq pkg/cli/test.exp
.PHONY: actual
actual: export WRITE_ACTUAL=1
actual: testgo
.PHONY: cover
cover: COVER=-cover -race -coverpkg=./... -coverprofile=cover.out
cover: test
go tool cover -html=cover.out -o cover.out.html