本站源代码
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.

19 lines
264B

  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
上海开阖软件有限公司 沪ICP备12045867号-1