box-o-sand/oldstuff/sylvilagus/go/Makefile

19 lines
436 B
Makefile
Raw Normal View History

REPO_BASE := github.com/meatballhat/box-o-sand/sylvilagus/go
PACKAGES := \
$(REPO_BASE)/sylvilagus-conntest \
$(REPO_BASE)/sylvilagus-ch02-hello-world-consumer \
$(REPO_BASE)/sylvilagus-ch02-hello-world-producer \
2012-12-02 13:41:05 +00:00
$(REPO_BASE)/sylvilagus-ch04-rpc-server \
$(REPO_BASE)/sylvilagus-ch04-rpc-client
test: build
go test -x -v $(PACKAGES)
build: deps
go install -x $(PACKAGES)
deps:
go get -x $(PACKAGES)
.PHONY: test build deps