From 861f03f44b297f919527bbbcd685144f2ce81c16 Mon Sep 17 00:00:00 2001 From: Benny M Date: Thu, 23 Jul 2015 14:23:08 -0500 Subject: [PATCH] First run for a Makfile. --- Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..16e8feb --- /dev/null +++ b/Makefile @@ -0,0 +1,36 @@ +.PHONY: cordova_plugins npm_packages + +update_plugins: + cd mobileapp && \ + cordova plugin rm \ + com.phonegap.plugins.barcodescanner \ + org.apache.cordova.geolocation \ + org.apache.cordova.statusbar \ + org.apache.cordova.camera \ + org.apache.cordova.inappbrowser \ + org.apache.cordova.device + +cordova_plugins: #current as of 22 July, 2015 + cd mobileapp && \ + cordova plugin add \ + phonegap-plugin-barcodescanner \ + cordova-plugin-geolocation \ + com.telerik.plugins.wkwebview \ + nl.x-services.plugins.socialsharing \ + cordova-plugin-statusbar \ + cordova-plugin-camera \ + org.devgeeks.privacyscreen \ + cordova-plugin-inappbrowser \ + cordova-plugin-device \ + com.crypho.plugins.securestorage + +cordova_android_plugins: + cd mobileapp && \ + cordova plugin add net.yoik.cordova.plugins.screenorientation.wkwebview + +npm_packages: + npm install -g cordova-icon cordova-splash + +setup_base: cordova_plugins npm_packages + +setup_all: cordova_plugins cordova_android_plugins npm_packages