Starting to goof around with binary search
which lead into goofing around with IO streams...
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
CLEAN_GOPATH := $(shell echo $(GOPATH) | tr ":" "\n" | grep -v '^$$' | grep -v $(PWD) | tr "\n" ":")
|
||||
GOPATH := $(PWD):$(CLEAN_GOPATH)
|
||||
PACKAGES := \
|
||||
meatballhat.com/algs4 \
|
||||
meatballhat.com/algs4-gcd
|
||||
PACKAGES := $(foreach pkg,\
|
||||
$(shell ls src/meatballhat.com),\
|
||||
$(patsubst %,meatballhat.com/%,$(pkg))\
|
||||
)
|
||||
|
||||
test: build
|
||||
go test $(PACKAGES)
|
||||
|
Reference in New Issue
Block a user