Created
March 2, 2019 16:36
-
-
Save ppeeou/e01959eadefac1889f9b41dda934bbdc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "build_c", | |
"type": "shell", | |
"command": "gcc", | |
"args": [ | |
"-o", | |
"${fileBasenameNoExtension}.exe", | |
"${file}" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
}, | |
{ | |
"label": "exec_c", | |
"type": "shell", | |
"command": "./${fileBasenameNoExtension}.exe", | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
} | |
}, | |
{ | |
"label": "build_c++", | |
"type": "shell", | |
"command": "g++", | |
"args": [ | |
"-o", | |
"${fileBasenameNoExtension}.exe", | |
"${file}" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
}, | |
{ | |
"label": "py_exec", | |
"type": "shell", | |
"command": "python", | |
"args": [ | |
"${file}" | |
], | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
} | |
}, | |
{ | |
"label": "pylint", | |
"type": "shell", | |
"command": "pylint", | |
"args": [ | |
"${file}" | |
] | |
}, | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment