2014-08-03 13:09:08 -07:00
|
|
|
TEST?=./...
|
|
|
|
|
2014-07-31 13:56:51 -07:00
|
|
|
default: test
|
|
|
|
|
2015-01-15 15:11:14 -08:00
|
|
|
fmt: generate
|
2014-08-02 11:38:41 -07:00
|
|
|
go fmt ./...
|
|
|
|
|
2015-01-15 15:11:14 -08:00
|
|
|
test: generate
|
2016-09-15 16:19:29 -04:00
|
|
|
go get -t ./...
|
2014-08-03 13:09:08 -07:00
|
|
|
go test $(TEST) $(TESTARGS)
|
2014-07-31 13:56:51 -07:00
|
|
|
|
2015-01-15 15:11:14 -08:00
|
|
|
generate:
|
|
|
|
go generate ./...
|
2014-07-31 13:56:51 -07:00
|
|
|
|
2015-01-15 15:12:25 -08:00
|
|
|
updatedeps:
|
|
|
|
go get -u golang.org/x/tools/cmd/stringer
|
|
|
|
|
|
|
|
.PHONY: default generate test updatedeps
|