Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save SeanChristopherConway/387b577b9fead533dc0d4fa3a17edf31 to your computer and use it in GitHub Desktop.
Save SeanChristopherConway/387b577b9fead533dc0d4fa3a17edf31 to your computer and use it in GitHub Desktop.
titanium_ant_build.sh
# $1 = module project name, eg. matise.mapbox
# $2 = app name, eg. maptests
# Place this script in your module folder
#Example usage sh build_droid.sh matise.mapbox maptests
cd android;ant;unzip dist/$1*.zip -d tmp;rm -rf "/Users/Sean/Documents/Appcelerator_Studio_Workspace/$2/modules/android/$1" ;cp -R tmp/modules/android/$1 /Users/Sean/Documents/Appcelerator_Studio_Workspace/$2/modules/android;rm -rf tmp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment