mv .vscode to new repo github.com:deskflow/.vscode.git
This commit is contained in:
parent
0c26893706
commit
6a816350c1
4 changed files with 3 additions and 318 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -34,3 +34,6 @@ CMakeLists.txt.user
|
|||
CMakeCache.txt
|
||||
CMakeUserPresets.json
|
||||
CMakeFiles/*
|
||||
|
||||
# vscode folder
|
||||
/.vscode
|
||||
|
|
|
|||
11
.vscode/extensions.json
vendored
11
.vscode/extensions.json
vendored
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"ms-vscode.cmake-tools",
|
||||
"twxs.cmake",
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
"ms-vscode.cpptools",
|
||||
"vadimcn.vscode-lldb",
|
||||
"cheshirekow.cmake-format",
|
||||
"jacqueslucke.gcov-viewer"
|
||||
]
|
||||
}
|
||||
135
.vscode/launch.json
vendored
135
.vscode/launch.json
vendored
|
|
@ -1,135 +0,0 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "unix - gui",
|
||||
"type": "lldb",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow",
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "unix - unittests",
|
||||
"type": "lldb",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/unittests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
{
|
||||
"name": "unix - integtests",
|
||||
"type": "lldb",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/integtests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"preLaunchTask": "build",
|
||||
},
|
||||
{
|
||||
"name": "unix - server",
|
||||
"type": "lldb",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow-server",
|
||||
"args": ["--config-toml", "deskflow-config.toml"],
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "unix - client",
|
||||
"type": "lldb",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow-client",
|
||||
"args": ["--config-toml", "deskflow-config.toml"],
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "unix - attach",
|
||||
"type": "lldb",
|
||||
"request": "attach",
|
||||
"pid": "${command:pickProcess}"
|
||||
},
|
||||
{
|
||||
"name": "windows - gui",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "windows - unittests",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/unittests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
{
|
||||
"name": "windows - integtests",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/integtests",
|
||||
"args": [ "${input:gtest-args}" ],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
{
|
||||
"name": "windows - server",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow-server",
|
||||
"args": ["--config-toml", "deskflow-config.toml"],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "windows - client",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow-client",
|
||||
"args": ["--config-toml", "deskflow-config.toml"],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "kill-build"
|
||||
},
|
||||
{
|
||||
"name": "windows - daemon",
|
||||
"type": "cppvsdbg",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"request": "launch",
|
||||
"program": "${workspaceFolder}/build/bin/deskflow-daemon",
|
||||
"args": ["-f"],
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"preLaunchTask": "build"
|
||||
},
|
||||
{
|
||||
"name": "windows - attach",
|
||||
"type": "cppvsdbg",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}"
|
||||
},
|
||||
{
|
||||
"name": "install_deps.py",
|
||||
"type": "debugpy",
|
||||
"request": "launch",
|
||||
"program": "scripts/install_deps.py",
|
||||
"console": "integratedTerminal"
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "gtest-args",
|
||||
"type": "promptString",
|
||||
"description": "Test arguments",
|
||||
"default": "--gtest_filter=*"
|
||||
}
|
||||
]
|
||||
}
|
||||
172
.vscode/tasks.json
vendored
172
.vscode/tasks.json
vendored
|
|
@ -1,172 +0,0 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build",
|
||||
"type": "cmake",
|
||||
"command": "build",
|
||||
"targets": ["all"],
|
||||
"preset": "${command:cmake.activeBuildPresetName}",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": {
|
||||
"base": "$gcc",
|
||||
"fileLocation": ["absolute"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "clean",
|
||||
"type": "cmake",
|
||||
"command": "build",
|
||||
"targets": ["clean"],
|
||||
"preset": "${command:cmake.activeBuildPresetName}",
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "clean-gcda",
|
||||
"type": "shell",
|
||||
"command": "find . -name '*.gcda' -delete",
|
||||
"windows": {
|
||||
"command": "$null"
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "silent"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "clean-qt",
|
||||
"type": "shell",
|
||||
"command": "rm -r build/src/gui build/src/lib/gui",
|
||||
"windows": {
|
||||
"command": "remove-item -recurse build/src/gui,build/src/lib/gui"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "clean-config",
|
||||
"type": "shell",
|
||||
"linux": {
|
||||
"command": "rm -r ~/.config/Deskflow/Deskflow.conf"
|
||||
},
|
||||
"windows": {
|
||||
"command": "remove-item -recurse $env:APPDATA\\Deskflow\\Deskflow"
|
||||
},
|
||||
"osx": {
|
||||
"command": "rm -r ~/Library/Application\\ Support/Deskflow/Deskflow"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "tests",
|
||||
"dependsOn": ["integtests", "unittests"],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "kill",
|
||||
"type": "shell",
|
||||
"command": "killall deskflow; killall deskflow-client; killall deskflow-server || true",
|
||||
"windows": {
|
||||
"command": "taskkill /F /IM deskflow.exe /IM deskflow-client.exe /IM deskflow-client.exe; $true"
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "silent"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "kill-build",
|
||||
"dependsOn": ["kill", "build"],
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "gui",
|
||||
"type": "process",
|
||||
"command": "${workspaceFolder}/build/bin/deskflow",
|
||||
"dependsOn": ["build", "kill"],
|
||||
"problemMatcher": [],
|
||||
"windows": {
|
||||
"command": "${workspaceFolder}/build/bin/deskflow.exe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "restart daemon",
|
||||
"type": "shell",
|
||||
"command": "python scripts/daemon.py --restart",
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
{
|
||||
"label": "reinstall daemon",
|
||||
"type": "shell",
|
||||
"command": "python scripts/daemon.py --reinstall",
|
||||
"dependsOn": ["build"]
|
||||
},
|
||||
{
|
||||
"label": "stop daemon",
|
||||
"type": "shell",
|
||||
"command": "python scripts/daemon.py --stop"
|
||||
},
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue