aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2019-02-23 18:44:32 +0800
committerLauris BH <lauris@nix.lv>2019-02-23 12:44:32 +0200
commit05143768d0948d3f5e24aa5b87b68ee2ae9a7e6f (patch)
tree837be7e651760286a121b3a5e4d836adb7becbd2 /Makefile
parent035c82aec4bb280baf0e6a7cc20a414626ec405f (diff)
downloadgitea-05143768d0948d3f5e24aa5b87b68ee2ae9a7e6f.tar.gz
gitea-05143768d0948d3f5e24aa5b87b68ee2ae9a7e6f.zip
Refactor coverage profile with multiple packages (#6167)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c87a2cb8ac..265e374341 100644
--- a/Makefile
+++ b/Makefile
@@ -176,7 +176,7 @@ coverage:
.PHONY: unit-test-coverage
unit-test-coverage:
- for PKG in $(PACKAGES); do $(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
+ $(GO) test -tags='sqlite sqlite_unlock_notify' -cover -coverprofile coverage.out $(PACKAGES) && echo "\n==>\033[32m Ok\033[m\n" || exit 1
.PHONY: vendor
vendor: