Makefile 175 B

12345678910111213
  1. HAS_GLIDE := $(shell command -v glide;)
  2. .PHONY: test
  3. test:
  4. go test -v .
  5. .PHONY: setup
  6. setup:
  7. ifndef HAS_GLIDE
  8. go get -u github.com/Masterminds/glide
  9. endif
  10. glide install