Skip to content

Instantly share code, notes, and snippets.

@hersonls
Created April 30, 2013 23:58
Show Gist options
  • Save hersonls/5492817 to your computer and use it in GitHub Desktop.
Save hersonls/5492817 to your computer and use it in GitHub Desktop.
Sublime Text: C build for osx - sublime-build
{
"cmd" : ["gcc $file -o ${file_base_name} && osascript -e 'tell application \"Terminal\" to activate' -e 'tell application \"Terminal\" to do script \"${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