Skip to content

Instantly share code, notes, and snippets.

@oodavid
Last active December 9, 2015 23:29
Show Gist options
  • Save oodavid/4344588 to your computer and use it in GitHub Desktop.
Save oodavid/4344588 to your computer and use it in GitHub Desktop.
Titanium Build Script for Sublime-Text-2
Once you have Titanium running, including Command-Line-Interface, this build script can be used with sublime-text to compile and pass to the attached android device.
Note that on windows you will probably need an additional "shell" parameter...
## Useful References
* https://wiki.appcelerator.org/display/guides/Titanium+Command+Line+Interface
* http://unbounded.io/post/28394170197/titanium-mobile-develpoment-with-sublime-text-2-and
* http://www.slideshare.net/cb1kenobi/exploring-the-titanium-cli-codestrong-2012
{
"cmd": ["ti", "build", "--project-dir", "$project_path", "--platform=android", "--target=device", "--no-colors", "--deploy-type=production"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment