2016-09-06 17:44:07 -03:00
|
|
|
.PHONY:plugins ios-platform android-platform wp8-platform
|
2016-08-10 17:35:40 -03:00
|
|
|
|
|
|
|
|
plugins:
|
2016-10-01 19:53:57 -04:00
|
|
|
cordova plugin add https://github.com/cmgustavo/Custom-URL-scheme.git --variable URL_SCHEME=bitcoin --variable SECOND_URL_SCHEME=*APPURI*
|
2016-08-10 17:35:40 -03:00
|
|
|
cordova prepare
|
|
|
|
|
rm -rf platforms/android/res/values-es
|
|
|
|
|
|
2016-10-06 00:18:29 -04:00
|
|
|
wp8-platform:
|
2016-08-10 17:35:40 -03:00
|
|
|
cordova platforms add $(subst -platform,,$@) || echo "Platform already added"
|
|
|
|
|
|
2016-09-06 17:44:07 -03:00
|
|
|
wp: wp8-platform plugins
|
2016-10-04 14:35:20 -03:00
|
|
|
cordova plugin add https://github.com/jrontend/phonegap-plugin-barcodescanner
|
2016-08-10 17:35:40 -03:00
|
|
|
|
2016-10-06 00:18:29 -04:00
|
|
|
build-wp8:
|
2016-08-10 17:35:40 -03:00
|
|
|
cordova build $(subst build-,,$@)
|
|
|
|
|
|
|
|
|
|
run:
|
2016-09-05 11:00:56 -03:00
|
|
|
cordova run --device
|