|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
-include environ.inc |
|
|
|
|
.PHONY: help deps dev build install image release test clean |
|
|
|
|
.PHONY: help deps dev build install image release test clean clean-all |
|
|
|
|
|
|
|
|
|
export CGO_ENABLED=0
|
|
|
|
|
VERSION=$(shell git describe --abbrev=0 --tags 2>/dev/null || echo "$VERSION")
|
|
|
|
@ -86,5 +86,8 @@ coverage: ## Get test coverage report |
|
|
|
|
@CGO_ENABLED=1 $(GOCMD) test -v -cover -race -cover -coverprofile=coverage.out ./...
|
|
|
|
|
@$(GOCMD) tool cover -html=coverage.out
|
|
|
|
|
|
|
|
|
|
clean: ## Clean and remove build artifacts
|
|
|
|
|
clean: ## Remove untracked files
|
|
|
|
|
@git clean -f -d
|
|
|
|
|
|
|
|
|
|
clean-all: ## Remove untracked and Git ignores files
|
|
|
|
|
@git clean -f -d -X
|
|
|
|
|