I'm having trouble scripting the publish action in Architect to generate extjs files so I can use it in my build process.

Since I see the command window being popped open, there must be some command send to the shell. The example of using Sencha Cmd is for Touch and I'm looking for the same for extjs. So far my fiddling with 'sencha app build' is not going anyway.

What exactly gets invoked by Architect when I click Publish?