Browse Source

Add "check" alias for testing

Follows GNU Coding Standards, see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
for-closed-social
Sandro Santilli 7 years ago
committed by Andrey Nering
parent
commit
3f18111cbe
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Makefile

+ 3
- 0
Makefile View File

@ -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/

Loading…
Cancel
Save