14 $(BIN): export GOPATH = $(shell pwd)
16 go install $(PROJECT)/cmd/$(BIN)
18 deps: export GOPATH = $(shell pwd)
22 clean_deps: export GOPATH = $(shell pwd)
24 go clean -i -r $(PROJECT)/... 2>/dev/null || true
26 test: export GOPATH = $(shell pwd)
28 go test $(PROJECT)/...
30 test_watch: export GOPATH = $(shell pwd)
32 $(BIN_DIR)/ginkgo watch $(SRC_DIR)/$(PROJECT)/...
34 test_deps: export GOPATH = $(shell pwd)
36 go get github.com/onsi/ginkgo/ginkgo
37 go get -t $(PROJECT)/...
39 clean_test_deps: export GOPATH = $(shell pwd)
41 go clean -i -r github.com/onsi/ginkgo/ginkgo 2>/dev/null || true
43 clean: clean_deps clean_test_deps
46 find $(SRC_DIR) -mindepth 1 -maxdepth 1 ! -name $(PROJECT) -exec rm -rf {} +
48 .PHONY: all run build deps clean_deps test test_watch test_deps clean_test_deps clean $(BIN)