File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -78,16 +78,17 @@ test: manifests generate fmt vet envtest ## Run tests.
7878 KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) -p path) " go test ./... -coverprofile cover.out
7979 grep -v -e " _moq.go" cover.out > coverage.out
8080
81- test/output/coverage/report :
82- @if [ -f coverage.out ]; then $(GO ) tool cover -func=coverage.out; else echo " coverage.out file not found" ; fi ;
83- .PHONY : test/output/coverage/report
81+ coverage.out : test
8482
85- test/html/ coverage/ report :
86- @if [ -f coverage.out ] ; then $(GO ) tool cover -html =coverage.out; else echo " coverage.out file not found " ; fi ;
87- .PHONY : test/html/ coverage/ report
83+ coverage- report : coverage.out
84+ $(GO ) tool cover -func =coverage.out
85+ .PHONY : coverage- report
8886
89- # #@ Build
87+ html-coverage-report : coverage.out
88+ $(GO ) tool cover -html=coverage.out
89+ .PHONY : html-coverage-report
9090
91+ # #@ Build
9192.PHONY : build
9293build : generate fmt vet # # Build manager binary.
9394 go build -o bin/manager main.go
You can’t perform that action at this time.
0 commit comments