Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a setup.sh (.js.whatever?) #66

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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