diff options
| author | Felix Hanley <felix@userspace.com.au> | 2019-03-04 12:17:37 +0000 |
|---|---|---|
| committer | Felix Hanley <felix@userspace.com.au> | 2019-03-04 12:17:37 +0000 |
| commit | 000b36a8d70913508afd95ca63bd9557eb9e5999 (patch) | |
| tree | 69fb41f17abafa058389915820b6cf3d65c236af | |
| parent | e4d1d74d2ff39e4202d7f640f7f557f74ac4a3d9 (diff) | |
| download | lexer-000b36a8d70913508afd95ca63bd9557eb9e5999.tar.gz lexer-000b36a8d70913508afd95ca63bd9557eb9e5999.tar.bz2 | |
Minor makefile update
| -rw-r--r-- | Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -1,18 +1,15 @@ pkgs := $(shell go list ./...) -.PHONY: lint test clean - -ifdef GOPATH -GO111MODULE=on -endif - +.PHONY: test test: lint ## Run tests with coverage go test -short -cover -coverprofile coverage.out $(pkgs) go tool cover -html=coverage.out -o coverage.html +.PHONY: lint lint: golint $(pkgs) +.PHONY: clean clean: ## Clean all test files rm -rf coverage* |
