47d49c6b92
* Add a go.mod file * run go mod vendor again * Move to a well-supported ini file reader * Remove GO111MODULE=off * Use go 1.16 * Rename github.com/outbrain/golib -> github.com/openark/golib * Remove *.go-e files * Fix for `strconv.ParseInt: parsing "": invalid syntax` error * Add test for '[osc]' section Co-authored-by: Nate Wernimont <nate.wernimont@workiva.com>
16 lines
239 B
Makefile
16 lines
239 B
Makefile
.PHONY: build test bench vet coverage
|
|
|
|
build: vet bench
|
|
|
|
test:
|
|
go test -v -cover -race
|
|
|
|
bench:
|
|
go test -v -cover -test.bench=. -test.benchmem
|
|
|
|
vet:
|
|
go vet
|
|
|
|
coverage:
|
|
go test -coverprofile=c.out && go tool cover -html=c.out && rm c.out
|