build(cordova): simplify build, use cordova in a more standard way
This commit is contained in:
parent
4ccf10d1b3
commit
d5e6b8fab8
14 changed files with 175 additions and 133 deletions
|
|
@ -5,21 +5,13 @@ plugins:
|
|||
cordova prepare
|
||||
rm -rf platforms/android/res/values-es
|
||||
|
||||
ios-platform android-platform wp8-platform:
|
||||
wp8-platform:
|
||||
cordova platforms add $(subst -platform,,$@) || echo "Platform already added"
|
||||
|
||||
ios: ios-platform plugins
|
||||
cordova plugin add https://github.com/tjwoon/csZBar.git
|
||||
cordova plugin add phonegap-plugin-push@1.5.3
|
||||
|
||||
android: android-platform plugins
|
||||
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
||||
cordova plugin add phonegap-plugin-push@1.2.3
|
||||
|
||||
wp: wp8-platform plugins
|
||||
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
||||
|
||||
build-ios build-android build-wp8:
|
||||
build-wp8:
|
||||
cordova build $(subst build-,,$@)
|
||||
|
||||
run:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue