Add some task configurations for VSCode.

This commit is contained in:
Julian Frohmüller
2022-11-03 11:46:56 +01:00
parent 373b256a7b
commit cfb9041cb2
6 changed files with 90 additions and 21 deletions
+18
View File
@@ -0,0 +1,18 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/src/**",
"${workspaceFolder}/build/src/opensuperclone/**",
"${workspaceFolder}/build/src/oscviewer/**"
],
"forcedInclude": [
"${workspaceFolder}/build/src/opensuperclone/config.h",
"${workspaceFolder}/build/src/oscviewer/config.h"
],
"cStandard": "c11"
}
],
"version": 4
}
+5
View File
@@ -0,0 +1,5 @@
{
"recommendations": [
"sanaajani.taskrunnercode"
]
}
-16
View File
@@ -1,16 +0,0 @@
{
"cmake.configureOnEdit": true,
"cmake.configureOnOpen": true,
"cmake.sourceDirectory": "${workspaceFolder}",
"cmake.buildDirectory": "${workspaceFolder}/build",
"cmake.installPrefix": "${workspaceFolder}/debug",
"cmake.debugConfig": {
},
"cmake.configureSettings": {
}
}
+62
View File
@@ -0,0 +1,62 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
// Build Release.
"label": "🔧 Build Release",
"type": "shell",
"linux": {
"command": "./build.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": "./install.sh",
},
"presentation": {
"clear": true
}
},
]
}
+1 -1
View File
@@ -70,7 +70,7 @@ $ ./build.sh
$ sudo ./release/bin/opensuperclone
# Run OSCViewer
$ ./release/bin/osscviewer
$ ./release/bin/oscviewer
```
## ✏️ Changelog
+4 -4
View File
@@ -1,4 +1,4 @@
rm -r build
rm -r debug
rm -r release
rm -r package
rm -r build > /dev/null 2>&1
rm -r debug > /dev/null 2>&1
rm -r release > /dev/null 2>&1
rm -r package > /dev/null 2>&1