浏览代码

Add "check" alias for testing

Follows GNU Coding Standards, see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html#Standard-Targets
tags/v1.0.0
Sandro Santilli 7 年前
父节点
当前提交
3f18111cbe
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      Makefile

+ 3
- 0
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/

正在加载...
取消
保存