Skip to content

Instantly share code, notes, and snippets.

@doublerebel
Last active October 11, 2015 00:08
Show Gist options
  • Save doublerebel/3772211 to your computer and use it in GitHub Desktop.
Save doublerebel/3772211 to your computer and use it in GitHub Desktop.
Adding Tintan for Titanium Mobile build system to a Sublime Text 2 project
{
"folders":
[
{
"path": "/path/to/the/project/folder"
}
],
"build_systems":
[
{
"name": "Tintan",
"selector": "source.coffee, source.js, source.xml",
"env":
{
"ANDROID_SDK": "/path/to/the/android-sdk-linux/",
"PATH": "$PATH:/usr/local/bin"
},
"working_dir": "$project_path",
"cmd": ["tintan", "run:android"], //Binds to Ctrl+B
"variants":
[{
"cmd": ["touch", "tiapp.xml"], //Binds to Ctrl+Shift+B
"name": "Run"
}]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment