From 2bc232972a58af53f350854bd3346566b06d2a4e Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 2 Oct 2019 08:35:32 +0200 Subject: [PATCH] Fix makefile test target by rename to tests to avoid dir conflict. --- GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 432b4f7..2beee68 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,4 +1,4 @@ -default: lint test build +default: lint tests build tools: ## Install the tools used to test and build @echo "==> Installing build tools" @@ -9,7 +9,7 @@ build: ## Build Sherpa for development purposes @echo "==> Running $@..." govvv build -o sherpa ./cmd -version $(shell git describe --tags --abbrev=0 $(git rev-list --tags --max-count=1) |cut -c 2- |awk '{print $1}')+dev -pkg github.com/jrasell/sherpa/pkg/build -test: ## Run the Sherpa test suite with coverage +tests: ## Run the Sherpa test suite with coverage @echo "==> Running $@..." @go test ./... -cover -v -tags -race \ "$(BUILDTAGS)" $(shell go list ./... | grep -v vendor)