pominal/Makefile
Dan Anglin 4c38bfb828
ci: remove JUnit report
It serves no purpose for me. It only causes issues.
2020-01-19 23:18:30 +00:00

19 lines
315 B
Makefile

NAME := pominal
BIN_DIR := ./bin
BIN_FILE := $(BIN_DIR)/$(NAME)
.PHONY: all test_unit build clean
all: test_unit build
test_unit:
@go test -v -coverprofile=cover.out .
test_cover_report: test_unit
@go tool cover -html=cover.out -o code-coverage.html
build:
@go build -a -v -o $(BIN_FILE)
clean:
@go clean