-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.sh
executable file
·44 lines (40 loc) · 1.19 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Create output (Cordova) directory
#
mkdir www
#
# Install client libraries
#
bower install
#
# Install cordova plugins
# The quickest option is to ask from Ionic
# to restore the state of the app.
# https://github.com/driftyco/ionic-cli#ionic-state-restore
# If this process fails comment this line and uncomment the
# "cordova plugin add ..." lines that follow.
#
ionic state restore
#
# cordova plugin add cordova-plugin-device
# cordova plugin add cordova-plugin-console
# cordova plugin add cordova-plugin-whitelist
# cordova plugin add cordova-plugin-transport-security
# cordova plugin add cordova-plugin-network-information
# cordova plugin add cordova-plugin-inappbrowser
# cordova plugin add cordova-plugin-geolocation
# cordova plugin add ionic-plugin-keyboard
# cordova plugin add https://github.com/phonegap-build/PushPlugin.git
# cordova plugin add [email protected]
# cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
#
# Add target platform
#
# Comment out the platform(s) your system supports
#
grunt platform:add:ios
# grunt platform:add:android
#
# Build the project and generate the cordova directory (www)
#
grunt build