summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-07 13:41:47 +0100
committerAndrey Nering <andrey.nering@gmail.com>2016-11-07 13:25:50 -0200
commit3f18111cbec8cba23421d85bd737ce462d4940f7 (patch)
tree1afc9e642bc6dabdd00080578f834d35d7f72698 /Makefile
parent1b962bac0bb00d6ce2bfd29fdeb1f95301e17b98 (diff)
downloadgitea-3f18111cbec8cba23421d85bd737ce462d4940f7.tar.gz
gitea-3f18111cbec8cba23421d85bd737ce462d4940f7.zip
Add "check" alias for testing
Follows GNU Coding Standards, see https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f56c4c5181..3a2f80053b 100644
--- a/Makefile
+++ b/Makefile
@@ -62,6 +62,9 @@ lint:
test:
for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
+# As for GNU Coding Standard
+check: test
+
.PHONY: install
install: $(BIN)/$(EXECUTABLE)
cp $< $(GOPATH)/bin/