Files
OpenSuperClone/.vscode/tasks.json
T

123 lines
3.5 KiB
JSON

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
// Run OpenSuperClone (build it, if necessary).
"label": "▶️ Run OpenSuperClone",
"type": "shell",
"linux": {
"command": "[ -f ./Release/bin/opensuperclone ] || ./build.sh && sudo ./Release/bin/opensuperclone",
},
"presentation": {
"clear": true
}
},
{
// Run OSCViewer (build it, if necessary).
"label": "▶️ Run OSCViewer",
"type": "shell",
"linux": {
"command": "[ -f ./Release/bin/oscviewer ] || ./build.sh && ./Release/bin/oscviewer",
},
"presentation": {
"clear": true
}
},
{
// Run OpenSuperClone with GDBServer (as root)
"label": "🐞 Run OpenSuperClone with GDBServer",
"type": "shell",
"linux": {
"command": "[ -f ./Debug/bin/opensuperclone ] || ./build.sh debug && sudo gdbserver localhost:2345 ${workspaceFolder}/Debug/bin/opensuperclone"
}
},
{
// Run OSCViewer with GDBServer
"label": "🐞 Run OSCViewer with GDBServer",
"type": "shell",
"linux": {
"command": "[ -f ./Debug/bin/oscviewer ] || ./build.sh debug && gdbserver localhost:2345 ${workspaceFolder}/Debug/bin/opensuperclone"
}
},
{
// Build Release.
"label": "🔧 Build Release",
"type": "shell",
"linux": {
"command": "./build.sh",
},
"presentation": {
"clear": true
}
},
{
// Build Debug.
"label": "🔧 Build Debug",
"type": "shell",
"linux": {
"command": "./build.sh debug",
},
"presentation": {
"clear": true
}
},
{
// Update PO files.
"label": "🌐 Update POs",
"type": "shell",
"linux": {
"command": "./update-pos.sh",
},
"presentation": {
"clear": true
}
},
{
// Package Release.
"label": "✉️ Package Release",
"type": "shell",
"linux": {
"command": "./package.sh",
},
"presentation": {
"clear": true
}
},
{
// Cleanup.
"label": "💣 Cleanup",
"type": "shell",
"linux": {
"command": "./clean.sh",
},
"presentation": {
"clear": true
}
},
{
// Install.
"label": "📐 Install",
"type": "shell",
"linux": {
"command": "./install.sh",
},
"presentation": {
"clear": true
}
},
{
// Uninstall.
"label": "❌ Uninstall",
"type": "shell",
"linux": {
"command": "./uninstall.sh",
},
"presentation": {
"clear": true
}
}
]
}