Skip to content

Instantly share code, notes, and snippets.

@Martin1982
Created November 6, 2012 13:32
Show Gist options
  • Save Martin1982/4024752 to your computer and use it in GitHub Desktop.
Save Martin1982/4024752 to your computer and use it in GitHub Desktop.
Sencha Touch 2 deployment script
#!/bin/bash
# Web deploy
echo "Deploying the application web package"
rm -rf ../build/www
~/Applications/SenchaSDKTools-2.0.0-beta3/sencha app build -e production -d ../build/www -a ../archive
# PhoneGap build deploy
echo "Deploying the application Phonegap Build package"
rm -f ../build/pgbuild/package.zip
zip -b ../build/pgbuild ../build/pgbuild/package ../build/www/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment