2023-10-21 20:31:31 +02:00
|
|
|
COVERAGE_DIR=coverage
|
|
|
|
|
|
|
|
lint:
|
2023-12-26 10:09:54 +01:00
|
|
|
golangci-lint run
|
2023-10-21 20:31:31 +02:00
|
|
|
goreportcard:
|
|
|
|
goreportcard-cli -v
|
|
|
|
test:
|
|
|
|
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
|