template / commit
Creating the test dir during testing.
Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d74e98d..abda531 100644 --- a/Makefile +++ b/Makefile @@ -8,14 +8,14 @@ BINARY_NAME := template build: go build . -install: +install: build ./scripts/clean-install.ps1 -test: +test: build + @New-Item -ItemType Directory -Force -Path ./test | out-null go test -v ./... -coverprofile="./test/coverage.out" -test_coverage: - go test -v ./... -coverprofile="./test/coverage.out" +test_coverage: test go tool cover -html="./test/coverage.out" -o "./test/coverage.html" test_coverage_html: test_coverage