Skip to content

Instantly share code, notes, and snippets.

@Mikulas
Last active December 24, 2015 18:39
Show Gist options
  • Save Mikulas/6844710 to your computer and use it in GitHub Desktop.
Save Mikulas/6844710 to your computer and use it in GitHub Desktop.
Sublime Text build system for raw c, runs console app in iTerm
{
"cmd" : [
"gcc $file_name -o ${file_base_name} && osascript -e 'tell application \"iTerm\" to activate' && osascript -e 'tell application \"iTerm\" to tell last terminal to tell the last session to write text \"$file_path/$file_base_name\"'"
],
"selector": "source.c",
"shell": true,
"working_dir": "$file_path"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment