We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fc7c28 commit 55ffb6dCopy full SHA for 55ffb6d
Makefile
@@ -43,8 +43,11 @@ clean: check-go ## runs `go clean` and removes the bin/ dir
43
$(GOCLEAN) --modcache
44
rm -rf $(GOBIN)
45
46
+# cover: check-go static ## runs test suite with coverage profiling
47
+# $(GOTEST) ./... -coverprofile=$(COVER_FILE)
48
cover: check-go static ## runs test suite with coverage profiling
- $(GOTEST) ./... -coverprofile=$(COVER_FILE)
49
+ PKGS=$$(go list ./... | grep -v "github.com/optimizely/agent/statik")
50
+ $(GOTEST) $${PKGS} -coverprofile=$(COVER_FILE) -coverpkg=$$(echo $${PKGS} | tr ' ' ',')
51
52
cover-html: cover ## generates test coverage html report
53
$(GOCMD) tool cover -html=$(COVER_FILE)
0 commit comments