Created
December 28, 2012 13:58
-
-
Save chendo/4398077 to your computer and use it in GitHub Desktop.
Sublime Text 2 Build System to build and run the active Objective-C file. Good for playing around with small code snippets. Needs clang. Place in ~/Library/Application Support/Sublime Text 2/Packages/User
This file contains 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
{ | |
"cmd": ["bash", "-c", "clang -lobjc -framework Cocoa -framework Carbon -o /tmp/sublime-objc-output $file"], | |
"file_regex": "^(.*?):([0-9]+):([0-9]+): (.*)", | |
"selector": "source.objc", | |
"variants": [ | |
{ | |
"name": "Run", | |
"cmd": ["bash", "-c", "clang -lobjc -framework Cocoa -framework Carbon -o /tmp/sublime-objc-output $file && /tmp/sublime-objc-output"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this able to run on Windows 8? I'm just not sure how to make it run my application.