Skip to content

Instantly share code, notes, and snippets.

@sjb-gist
Created November 7, 2012 18:43
Show Gist options
  • Save sjb-gist/4033526 to your computer and use it in GitHub Desktop.
Save sjb-gist/4033526 to your computer and use it in GitHub Desktop.
sublime build configuration for waf script compiling c# codes
{
"working_dir": "${project_path}",
"cmd": ["${project_path:.}/waf", "build"],
"selector": "source.cs",
"file_regex": "^\\.*/(.*)\\((\\d+),(\\d+)\\):\\s*(.*)$",
"variants":
[
{
"cmd": ["${project_path:.}/waf", "configure"],
"name": "Configure"
},
{
"cmd": ["${project_path:.}/waf", "clean"],
"name": "Clean"
},
{
"cmd": ["${project_path:.}/waf", "lint"],
"name": "lint"
},
{
"cmd": ["${project_path:.}/waf", "test"],
"name": "Run"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment