summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-25 15:00:56 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-25 15:00:56 -0500
commitcfac5204bf730b75628fbe7c1b3131b60f189071 (patch)
tree70507c8ba38302c3b6edd099000734f5a8e2de08
parent846058a2ab37b22d94f01746cf03fdf85a4c1495 (diff)
add a make rule to publish binaries
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8294364..0b387b0 100644
--- a/Makefile
+++ b/Makefile
@@ -39,10 +39,11 @@ android-resources = \
targets = $(foreach platform,$(platforms),$($(platform)-targets))
resources = $(foreach platform,$(platforms),$($(platform)-resources))
-all: $(targets)
+all: build
sources: PHONY $(sources)
resources: PHONY $(resources)
+build: $(targets)
clean-sources: PHONY
rm -rf -- www/pdfjs
@@ -59,6 +60,11 @@ $(foreach platform,$(platforms),\
$(eval $(platform)-resources: PHONY $$($(platform)-resources)) \
$(eval build-$(platform): PHONY $$($(platform)-targets)))
+upload: PHONY build
+ git push
+ rsync -rv --delete -e ssh platforms/browser/www/ lukeshu@lukeshu.com:/srv/frc/app/web
+ rsync -v -e ssh platforms/android/ant-build/CordovaApp-debug.apk lukeshu@lukeshu.com:/srv/frc/app/SafetyApp.apk
+
DEP_DIR = $1 $(shell find $1)