summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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)