How do I create a production build/minified scripts for Sencha Touch app?

jaffa picture jaffa · Mar 28, 2013 · Viewed 9.6k times · Source

There doesn't seem to be documentation on how to build a production mode app for ST2 using Sencha Cmd utility on their web site anywhere. Can anyone point me in the right direction?

Answer

Eli picture Eli · Mar 28, 2013

There is no difference in command to build your app between SDK Tools and Sencha Cmd:

To build your app for testing:

sencha app build testing

To build your app for production deployment:

sencha app build production

To package your application for distribution on App Stores:

sencha app build native