diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-25 15:00:56 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-02-25 15:00:56 -0500 |
commit | cfac5204bf730b75628fbe7c1b3131b60f189071 (patch) | |
tree | 70507c8ba38302c3b6edd099000734f5a8e2de08 | |
parent | 846058a2ab37b22d94f01746cf03fdf85a4c1495 (diff) |
add a make rule to publish binaries
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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) |