Breaking things out, adding test, all that good crap

This commit is contained in:
Dan Buch
2012-11-18 08:06:50 -05:00
parent f3712555d5
commit 631472da41
4 changed files with 33 additions and 10 deletions

View File

@@ -1,6 +1,8 @@
CLEAN_GOPATH := $(shell echo $(GOPATH) | tr ":" "\n" | grep -v '^$$' | grep -v $(PWD) | tr "\n" ":")
GOPATH := $(PWD):$(CLEAN_GOPATH)
PACKAGES := meatballhat.com/algs4-gcd
PACKAGES := \
meatballhat.com/algs4 \
meatballhat.com/algs4-gcd
test: build
go test $(PACKAGES)