{ "version": "2.0.0", "tasks": [ { "label": "build", "type": "cmake", "command": "build", "targets": ["all"], "preset": "${command:cmake.activeBuildPresetName}", "group": { "kind": "build", "isDefault": true } }, { "label": "clean", "type": "cmake", "command": "build", "targets": ["clean"], "preset": "${command:cmake.activeBuildPresetName}", "group": "build" }, { "label": "tests", "dependsOn": ["unittests", "integtests"], "problemMatcher": [] }, { "label": "kill", "type": "shell", "command": "killall synergy; killall synergyc; killall synergys || true", "windows": { "command": "taskkill /F /IM synergy.exe /IM synergyc.exe /IM synergys.exe; $true" } }, { "label": "build-kill", "dependsOn": ["build", "kill"] }, { "label": "gui", "type": "process", "command": "${workspaceFolder}/build/bin/synergy", "dependsOn": ["build", "kill"] }, { "label": "windows daemon", "type": "shell", "command": "python scripts/windows_daemon.py", "dependsOn": ["build"] }, { "label": "clean-gcda", "type": "shell", "command": "find . -name '*.gcda' -delete", "windows": { "command": "$null" }, "presentation": { "reveal": "silent" } }, { "label": "unittests (current)", "type": "shell", "command": "python", "args": [ "./scripts/tests.py", "--unit-tests", "--ignore-return-code", "--filter-file=${file}" ], "dependsOn": ["build", "clean-gcda"] }, { "label": "integtests (current)", "type": "shell", "command": "python", "args": [ "./scripts/tests.py", "--integ-tests", "--ignore-return-code", "--filter-file=${file}" ], "dependsOn": ["build", "clean-gcda"] }, { "label": "unittests", "type": "shell", "command": "python", "args": ["./scripts/tests.py", "--unit-tests", "--ignore-return-code"], "dependsOn": ["build", "clean-gcda"] }, { "label": "integtests", "type": "shell", "command": "python", "args": ["./scripts/tests.py", "--integ-tests", "--ignore-return-code"], "dependsOn": ["build", "clean-gcda"] }, { "label": "unittests (current, valgrind)", "type": "shell", "command": "python", "args": [ "./scripts/tests.py", "--unit-tests", "--ignore-return-code", "--filter-file=${file}", "--valgrind" ], "dependsOn": ["build", "clean-gcda"] }, { "label": "integtests (current, valgrind)", "type": "shell", "command": "python", "args": [ "./scripts/tests.py", "--integ-tests", "--ignore-return-code", "--filter-file=${file}", "--valgrind" ], "dependsOn": ["build", "clean-gcda"] } ] }