From 3f18111cbec8cba23421d85bd737ce462d4940f7 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 7 Nov 2016 13:41:47 +0100 Subject: [PATCH] Add "check" alias for testing Follows GNU Coding Standards, see https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index f56c4c518..3a2f80053 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/