Skip to content

Instantly share code, notes, and snippets.

@eliellis
Created May 26, 2013 18:41
Show Gist options
  • Select an option

  • Save eliellis/5653659 to your computer and use it in GitHub Desktop.

Select an option

Save eliellis/5653659 to your computer and use it in GitHub Desktop.

Revisions

  1. Eli created this gist May 26, 2013.
    11 changes: 11 additions & 0 deletions C.sublime-build
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    {
    "cmd": ["clang", "${file}", "-o", "${file_path}/${file_base_name}.o"],
    "selector": "source.c",
    "variants":
    [
    {
    "name": "Run",
    "cmd": ["bash", "-c", "clang '${file}' -o '${file_path}/${file_base_name}.o' && '${file_path}/${file_base_name}.o'"]
    }
    ]
    }