| $(BIN): export GOPATH = $(shell pwd) |
| go install $(PROJECT)/cmd/$(BIN) |
| deps: export GOPATH = $(shell pwd) |
| clean_deps: export GOPATH = $(shell pwd) |
| go clean -i -r $(PROJECT)/... 2>/dev/null || true |
| test: export GOPATH = $(shell pwd) |
| test_watch: export GOPATH = $(shell pwd) |
| $(BIN_DIR)/ginkgo watch $(SRC_DIR)/$(PROJECT)/... |
| test_deps: export GOPATH = $(shell pwd) |
| go get github.com/onsi/ginkgo/ginkgo |
| clean_test_deps: export GOPATH = $(shell pwd) |
| go clean -i -r github.com/onsi/ginkgo/ginkgo 2>/dev/null || true |
| clean: clean_deps clean_test_deps |
| find $(SRC_DIR) -mindepth 1 -maxdepth 1 ! -name $(PROJECT) -exec rm -rf {} + |
| .PHONY: all run build deps clean_deps test test_watch test_deps clean_test_deps clean $(BIN) |