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.

15 lines
255B

  1. ARCH=$(shell ls $(GOPATH)/pkg | head -n 1)
  2. PKG=$(GOPATH)/pkg/$(ARCH)/github.com/goanywhere
  3. all: test
  4. clean:
  5. @find $(PKG) -name 'rex.a' -delete
  6. @find $(PKG) -name 'rex' -type d -print0|xargs -0 rm -r
  7. build:
  8. @go get -v ./...
  9. test:
  10. @go test -v ./...