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