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.

18 lines
264 B

  1. TEST?=./...
  2. default: test
  3. fmt: generate
  4. go fmt ./...
  5. test: generate
  6. go get -t ./...
  7. go test $(TEST) $(TESTARGS)
  8. generate:
  9. go generate ./...
  10. updatedeps:
  11. go get -u golang.org/x/tools/cmd/stringer
  12. .PHONY: default generate test updatedeps