Marvin Steadfast
104e72bd86
All checks were successful
continuous-integration/drone/push Build is passing
19 lines
264 B
Makefile
19 lines
264 B
Makefile
TEST?=./...
|
|
|
|
default: test
|
|
|
|
fmt: generate
|
|
go fmt ./...
|
|
|
|
test: generate
|
|
go get -t ./...
|
|
go test $(TEST) $(TESTARGS)
|
|
|
|
generate:
|
|
go generate ./...
|
|
|
|
updatedeps:
|
|
go get -u golang.org/x/tools/cmd/stringer
|
|
|
|
.PHONY: default generate test updatedeps
|