Skip to content

Commit 0514376

Browse files
appleboylafriks
authored andcommitted
Refactor coverage profile with multiple packages (#6167)
1 parent 035c82a commit 0514376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ coverage:
176176

177177
.PHONY: unit-test-coverage
178178
unit-test-coverage:
179-
for PKG in $(PACKAGES); do $(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
179+
$(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
180180

181181
.PHONY: vendor
182182
vendor:

0 commit comments

Comments
 (0)