Update Makefile
This commit is contained in:
parent
f3212afbf7
commit
570e2c6507
8
Makefile
8
Makefile
@ -12,16 +12,16 @@ setup: ## Setup for required tools.
|
|||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt: ## Formatting source codes.
|
fmt: ## Formatting source codes.
|
||||||
@goimports -w $$(glide nv -x)
|
@goimports -w .
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: ## Run golint and go vet.
|
lint: ## Run golint and go vet.
|
||||||
@golint $$(glide novendor)
|
@golint .
|
||||||
@go vet $$(glide novendor)
|
@go vet .
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test: ## Run the tests.
|
test: ## Run the tests.
|
||||||
@go test $$(glide novendor)
|
@go test .
|
||||||
|
|
||||||
.PHONY: help
|
.PHONY: help
|
||||||
help: ## Show help text
|
help: ## Show help text
|
||||||
|
Loading…
Reference in New Issue
Block a user