Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.01 KB

File metadata and controls

31 lines (20 loc) · 1.01 KB

build-sencha-deploy-phonegapbuild

Build an app with Sencha Cmd and deploy to PhoneGap Build.

This is a build script originally written for Gitlab CI but should be fine for whatever CI server you're using.

The script does the following:

  • compile the app with sencha cmd ("app build package")
  • push the "build" subdirectory to PhoneGap Build using REST APIs

If you just need the first or second part you can comment out in the script the section you don't need, it should be pretty straightforward.

HOWTO

  • (one-time) configure the script editing it and filling in the "### Config ###' section
  • chdir to your sencha app root
  • execute the script

Dependancies

License

This script is licensed under MIT Expat, i.e. you can do anything including commercial purposes, just don't blame it on me if anything goes wrong! :)