Configuration file syntax and parsing for golang
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
test: lint go-test
|
|
|
|
|
|
lint:
|
|
|
./lint.sh
|
|
|
|
|
|
go-test:
|
|
|
go test
|
|
|
|
|
|
bench:
|
|
|
go test -bench . -benchmem
|
|
|
|
|
|
coverage:
|
|
|
out=`mktemp -t "forge-coverage"`; go test -coverprofile=$$out && go tool cover -html=$$out
|
|
|
|
|
|
deps:
|
|
|
go get golang.org/x/tools/cmd/cover
|
|
|
go get github.com/golang/lint/golint
|
|
|
|
|
|
.PHONY: test lint go-test bench coverage deps
|