48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"windows": {
|
|
"options": {
|
|
"shell": {
|
|
"executable": "C:/msys64/usr/bin/bash.exe",
|
|
"args": ["--login", "-c"]
|
|
},
|
|
"env": {
|
|
"MSYSTEM": "UCRT64",
|
|
"CHERE_INVOKING": "1",
|
|
"MSYS2_PATH_TYPE": "inherit"
|
|
}
|
|
}
|
|
},
|
|
"tasks": [
|
|
{
|
|
"label": "make",
|
|
"type": "shell",
|
|
"command": "make",
|
|
"group": { "kind": "build", "isDefault": true },
|
|
"problemMatcher": ["$gcc"]
|
|
},
|
|
{
|
|
"label": "make clean",
|
|
"type": "shell",
|
|
"command": "make clean",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "make (clang)",
|
|
"type": "shell",
|
|
"command": "make clean && make CC=clang",
|
|
"problemMatcher": ["$gcc"]
|
|
},
|
|
{
|
|
"label": "valgrind",
|
|
"type": "shell",
|
|
"command": "valgrind --leak-check=full ./build/hello",
|
|
"windows": {
|
|
"command": "echo 'valgrind no existe en Windows: pruébalo en Fedora'"
|
|
},
|
|
"dependsOn": "make",
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|