19 lines
218 B
Makefile
19 lines
218 B
Makefile
build: format clean test
|
|
go build ./...
|
|
|
|
test: get
|
|
go test -v .
|
|
|
|
bench: get
|
|
go test -v -bench . ./...
|
|
|
|
get:
|
|
go get -t -v ./...
|
|
|
|
format:
|
|
find . -name \*.go -type f -exec gofmt -w {} \;
|
|
|
|
clean:
|
|
|
|
.PHONY: clean build
|