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.

21 line
287B

  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 ./...