Update Makefile

This commit is contained in:
Daniel Czerwonk 2018-02-14 15:28:16 +01:00 committed by GitHub
parent 222c960d77
commit 7e4ef7a0ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,6 @@ init: ## Install requirements
@echo -e "$(OK_COLOR)[$(APP)] Install requirements$(NO_COLOR)"
@go get -u github.com/golang/dep/cmd/dep
@go get -u github.com/golang/lint/golint
@go get -u github.com/kisielk/errcheck
.PHONY: deps
deps: ## Update dependencies
@ -58,11 +57,6 @@ lint: ## Launch golint
vet: ## Launch go vet
@$(foreach file,$(SRCS),$(GO) vet $(file) || exit;)
.PHONY: errcheck
errcheck: ## Launch go errcheck
@echo -e "$(OK_COLOR)[$(APP)] Go Errcheck $(NO_COLOR)"
@$(foreach pkg,$(PKGS),errcheck $(pkg) || exit;)
.PHONY: coverage
coverage: ## Launch code coverage
@$(foreach pkg,$(PKGS),$(GO) test -cover $(pkg) || exit;)