Fix lint and test target
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -36,7 +36,7 @@ PROBOD_SRC= cmd/probod/main.go
|
|||||||
all: build
|
all: build
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: vet npm-lint
|
lint: vet # npm-lint
|
||||||
|
|
||||||
.PHONY: vet
|
.PHONY: vet
|
||||||
vet:
|
vet:
|
||||||
@@ -47,6 +47,7 @@ npm-lint:
|
|||||||
$(NPM) run lint
|
$(NPM) run lint
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
|
test: CGO_ENABLED=1
|
||||||
test: ## Run tests with race detection and coverage (usage: make test [MODULE=./pkg/some/module])
|
test: ## Run tests with race detection and coverage (usage: make test [MODULE=./pkg/some/module])
|
||||||
$(GO_TEST) $(if $(MODULE),$(MODULE),./...)
|
$(GO_TEST) $(if $(MODULE),$(MODULE),./...)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user