More namespacing and goofing around with unimportant crap

This commit is contained in:
Dan Buch 2012-11-05 20:59:42 -05:00
parent 0d7806fba4
commit 090d101d51
11 changed files with 10 additions and 3 deletions

View File

@ -1,16 +1,23 @@
PACKAGES := $(foreach pkg,\
$(shell ls src/gotour.meatballhat.com),\
$(patsubst %,gotour.meatballhat.com/%,$(pkg))\
$(shell ls src/meatballhat.com/gotour-artifacts),\
$(patsubst %,meatballhat.com/gotour-artifacts/%,$(pkg))\
)
all:
go install $(PACKAGES)
fmt:
go fmt $(PACKAGES)
clean:
rm -v bin/*
publish:
rsync -avz src/meatballhat.com/gotour-artifacts mbh:meatballhat.com/docroot/
ssh mbh "find meatballhat.com/docroot/gotour-artifacts -type d -exec chmod 755 {} \; && find meatballhat.com/docroot/gotour-artifacts/ -type f -exec chmod 644 {} \;"
env:
@echo GOPATH=$(GOPATH)
@echo PACKAGES=$(PACKAGES)
.PHONY: all clean
.PHONY: all clean publish env fmt