chore: switch to go tools, add test-coverage and race test

This commit is contained in:
2026-01-10 20:53:46 +01:00
parent ac73cf14eb
commit e00c45cf46
3 changed files with 37 additions and 2 deletions

View File

@@ -1,11 +1,19 @@
test:
test: test-unit test-race test-coverage
test-unit:
go test ./pkg/... -coverprofile=coverage.out
test-race:
go test ./pkg/... -race
test-coverage:
go tool gcov2lcov -infile coverage.out > lcov.info
build:
go build
lint:
golint ./...
go tool golint ./...
run:
make build