build(cordova): Begin basing cordova build on more standard config.xml

This completes the installations of cordova-plugin-qrscanner, including
required changes to config.xml. Where possible, other plugins are now
included with versioning in config.xml.
This commit is contained in:
Jason Dreyzehner 2016-09-30 21:18:54 -04:00
commit 15836bb817
9 changed files with 103 additions and 66 deletions

View file

@ -9,7 +9,7 @@ clean:
$(WORKDIR)android $(WORKDIR)ios: config.xml
cordova create $@ com.bitpay.*NAMENOSPACE* *NAMECASENOSPACE* || echo "Project Path Existed"
cordova create $@ com.bitpay.*NAMENOSPACE* '*NAMECASENOSPACE*' || echo "Project Path Existed"
cp ProjectMakefile $@/Makefile
rm -r $@/www && ln -sF ../../public $@/www
cp config.xml $@/config.xml
@ -35,7 +35,7 @@ wp-init: config.xml
cp config.xml $(WORKDIR)$@/config.xml
make -C $(WORKDIR)$@ $(subst $(WORKDIR),, $(WORKDIR)$@)
wp-copy:
wp-copy:
cp -rvf wp/Properties/* $(WORKDIR)wp/platforms/wp8/Properties/
cp -rvf wp/MainPage.xaml $(WORKDIR)wp/platforms/wp8/
cp -rvf wp/Package.appxmanifest $(WORKDIR)wp/platforms/wp8/