Last active
December 24, 2015 18:39
-
-
Save Mikulas/6844710 to your computer and use it in GitHub Desktop.
Sublime Text build system for raw c, runs console app in iTerm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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