您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920
  1. .PHONY: all test clean build install
  2. GOFLAGS ?= $(GOFLAGS:)
  3. all: install test
  4. build:
  5. @go build $(GOFLAGS) ./...
  6. install:
  7. @go get $(GOFLAGS) ./...
  8. test: install
  9. @go test -v ./...
  10. bench: install
  11. @go test -run=NONE -bench=. $(GOFLAGS) ./...
  12. clean:
  13. @go clean $(GOFLAGS) -i ./...