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.

16 lines
268B

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