2016-02-12 18:02:16 +00:00
|
|
|
TEST?=./...
|
|
|
|
|
|
|
|
default: test
|
|
|
|
|
|
|
|
fmt: generate
|
|
|
|
go fmt ./...
|
|
|
|
|
|
|
|
test: generate
|
2016-11-01 23:16:22 +00:00
|
|
|
go get -t ./...
|
2016-02-12 18:02:16 +00:00
|
|
|
go test $(TEST) $(TESTARGS)
|
|
|
|
|
|
|
|
generate:
|
|
|
|
go generate ./...
|
|
|
|
|
|
|
|
updatedeps:
|
|
|
|
go get -u golang.org/x/tools/cmd/stringer
|
|
|
|
|
|
|
|
.PHONY: default generate test updatedeps
|