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

153 lines
4.0 KiB
JSON
Raw Normal View History

{
2023-02-03 11:48:26 +01:00
"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",
2023-02-02 15:25:26 +01:00
"label": "Format Cpp files",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
2023-02-02 15:25:26 +01:00
"args": [
"check_format_cpp.py"
2023-02-02 15:25:26 +01:00
]
},
2023-02-03 11:48:26 +01:00
{
"type": "process",
2023-02-02 15:25:26 +01:00
"label": "Format CMake files",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
2023-02-02 15:25:26 +01:00
"args": [
"check_format_cmake.py"
2023-02-02 15:25:26 +01:00
]
},
2023-02-03 11:48:26 +01:00
{
"type": "process",
2023-02-02 15:25:26 +01:00
"label": "Format Qml files",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
2023-02-02 15:25:26 +01:00
"args": [
"check_format_qml.py"
2023-02-02 15:25:26 +01:00
]
},
2023-02-03 11:48:26 +01:00
{
"type": "process",
2023-02-02 15:25:26 +01:00
"label": "Run setup.py",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
2023-02-02 15:25:26 +01:00
"args": [
"setup.py"
]
},
{
"type": "process",
"label": "Build Godot",
"command": "python",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"args": [
"build_godot.py",
"--build_path",
"${command:cmake.buildDirectory}/bin"
]
},
2023-02-03 11:48:26 +01:00
{
"type": "process",
"label": "Build ScreenPlay release, with deploy and steam enabled",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
"osx": {
"args": [
"build.py",
"--type=release",
"--deploy-version",
"--steam"
2023-02-03 11:48:26 +01:00
]
},
2023-02-02 15:25:26 +01:00
"args": [
"build.py",
"--type=release",
"--deploy-version",
"--steam"
2023-02-02 15:25:26 +01:00
]
},
2023-02-03 11:48:26 +01:00
{
"type": "process",
2023-02-02 15:25:26 +01:00
"label": "Update Qt *.ts translations",
"command": "python3",
2023-02-03 11:48:26 +01:00
"windows": {
"command": "python"
},
2023-02-02 15:25:26 +01:00
"group": {
"kind": "build",
"isDefault": true
},
2023-02-03 11:48:26 +01:00
"options": {
"cwd": "${workspaceFolder}/Tools"
},
2023-02-02 15:25:26 +01:00
"args": [
"update_translations.py"
]
}
2023-02-03 11:48:26 +01:00
]
}