Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. @chendo chendo created this gist Dec 28, 2012.
    11 changes: 11 additions & 0 deletions Objective-C Single File.sublime-build
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    {
    "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"]
    }
    ]
    }