go-cert-gen/Makefile

13 lines
307 B
Makefile
Raw Normal View History

2023-03-03 22:31:10 +01:00
COVERAGE_DIR=coverage
2023-02-15 19:48:05 +01:00
lint:
2023-02-15 19:49:14 +01:00
golangci-lint run ./...
goreportcard:
goreportcard-cli -v
test:
2023-03-03 22:31:10 +01:00
go test ./...
test-coverage:
rm -rf ${COVERAGE_DIR}
mkdir ${COVERAGE_DIR}
go test -v -coverprofile ${COVERAGE_DIR}/cover.out ./...
go tool cover -html ${COVERAGE_DIR}/cover.out -o ${COVERAGE_DIR}/cover.html