More namespacing and goofing around with unimportant crap
This commit is contained in:
parent
0d7806fba4
commit
090d101d51
@ -1,16 +1,23 @@
|
|||||||
PACKAGES := $(foreach pkg,\
|
PACKAGES := $(foreach pkg,\
|
||||||
$(shell ls src/gotour.meatballhat.com),\
|
$(shell ls src/meatballhat.com/gotour-artifacts),\
|
||||||
$(patsubst %,gotour.meatballhat.com/%,$(pkg))\
|
$(patsubst %,meatballhat.com/gotour-artifacts/%,$(pkg))\
|
||||||
)
|
)
|
||||||
|
|
||||||
all:
|
all:
|
||||||
go install $(PACKAGES)
|
go install $(PACKAGES)
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
go fmt $(PACKAGES)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -v bin/*
|
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:
|
env:
|
||||||
@echo GOPATH=$(GOPATH)
|
@echo GOPATH=$(GOPATH)
|
||||||
@echo PACKAGES=$(PACKAGES)
|
@echo PACKAGES=$(PACKAGES)
|
||||||
|
|
||||||
.PHONY: all clean
|
.PHONY: all clean publish env fmt
|
||||||
|
Loading…
Reference in New Issue
Block a user