46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "make all",
|
|
"type": "shell",
|
|
"command": "make -j all",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
},
|
|
{
|
|
"label": "make clean",
|
|
"type": "shell",
|
|
"command": "make clean",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "leak check",
|
|
"type": "shell",
|
|
"command": "/usr/bin/valgrind --leak-check=full ${workspaceFolder}/lolautoaccept -s",
|
|
"problemMatcher": [],
|
|
"dependsOn": "make all"
|
|
},
|
|
{
|
|
"label": "leak check ALL",
|
|
"type": "shell",
|
|
"command": "/usr/bin/valgrind --leak-check=full --show-leak-kinds=all ${workspaceFolder}/lolautoaccept -s",
|
|
"problemMatcher": [],
|
|
"dependsOn": "make all"
|
|
},
|
|
{
|
|
"label": "make test",
|
|
"type": "shell",
|
|
"command": "make -j test",
|
|
"problemMatcher": ["$gcc"],
|
|
}
|
|
]
|
|
}
|