Update Makefile
This commit is contained in:
parent
222c960d77
commit
7e4ef7a0ec
6
Makefile
6
Makefile
@ -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;)
|
||||
|
Loading…
x
Reference in New Issue
Block a user