Skip to content

Instantly share code, notes, and snippets.

@Sotalbireo
Created September 10, 2015 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sotalbireo/521f8b8be6b45dd20894 to your computer and use it in GitHub Desktop.
Save Sotalbireo/521f8b8be6b45dd20894 to your computer and use it in GitHub Desktop.
Build single c file in Sublime Text with bcc55.
{
"cmd": ["bcc32", "-e${file_base_name}.exe", "${file_name}"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"shell": true,
"path": "C:\\bcc55\\Bin\\",
"working_dir": "${file_path}",
"encoding": "cp932",
"selector": "source.c",
"variants":
[
{
"name": "Build - Run",
"cmd": ["bcc32", "-e${file_base_name}.exe", "${file_name}", "&&", "${file_base_name}.exe", "&", "pause"]
},
{
"name": "Run",
"cmd": ["${file_base_name}.exe", "&", "pause"],
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment