Skip to content

Instantly share code, notes, and snippets.

@the-redback
Created February 18, 2019 18:16
Show Gist options
  • Save the-redback/b7e5f7402be21d59ae41d5bd44bb889c to your computer and use it in GitHub Desktop.
Save the-redback/b7e5f7402be21d59ae41d5bd44bb889c to your computer and use it in GitHub Desktop.
{
"cmd":[
"g++",
"-std=c++14",
"$file",
"-o",
"${file_path}/${file_base_name}"
],
"file_regex":"^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir":"${file_path}",
"selector":"source.c, source.c++, source.cxx, source.cpp",
"variants":[
{
"name":"Run",
"cmd":[
"bash",
"-c",
"g++ -std=c++14 '${file}' -o '${file_path}/${file_base_name}' && terminator -x bash -c '\"${file_path}/${file_base_name}\" ; read'"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment