1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-06 19:12:30 +01:00
ScreenPlay/.vscode/tasks.json
2023-10-22 17:29:06 +02:00

156 lines
4.1 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"type": "cmake",
"label": "CMake: build",
"command": "build",
"targets": [
"all"
],
"preset": "${command:cmake.activeBuildPresetName}",
"group": "build",
"problemMatcher": [],
"detail": "CMake template build task"
},
{
"type": "process",
"label": "🛫 Run setup.py",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"setup.py"
]
},
{
"type": "process",
"label": "⚙️ Build Godot Wallpaper",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"build_godot.py",
"--build_path",
"${command:cmake.buildDirectory}/bin"
]
},
{
"type": "process",
"label": "⚙️ Build ScreenPlay release, with deploy and steam enabled",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"osx": {
"args": [
"build.py",
"--type=release",
"--deploy-version",
"--steam"
]
},
"args": [
"build.py",
"--type=release",
"--deploy-version",
"--steam"
]
},
{
"type": "process",
"label": "📃 Format Cpp files",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"check_format_cpp.py"
]
},
{
"type": "process",
"label": "📃 Format CMake files",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"check_format_cmake.py"
]
},
{
"type": "process",
"label": "📃 Format Qml files",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"check_format_qml.py"
]
},
{
"type": "process",
"label": "🗨️ Update Qt *.ts translations",
"command": "python3",
"windows": {
"command": "python"
},
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"update_translations.py"
]
}
]
}