2022-12-28 11:38:05 +01:00
|
|
|
{
|
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",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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": [
|
2023-08-20 11:59:02 +02:00
|
|
|
"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",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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": [
|
2023-08-20 11:59:02 +02:00
|
|
|
"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",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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": [
|
2023-08-20 11:59:02 +02:00
|
|
|
"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",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
},
|
2023-09-28 15:55:11 +02:00
|
|
|
{
|
|
|
|
"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",
|
2023-08-20 11:59:02 +02:00
|
|
|
"label": "Build ScreenPlay release, with deploy and steam enabled",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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",
|
2023-08-12 11:53:34 +02:00
|
|
|
"--type=release",
|
|
|
|
"--deploy-version",
|
2023-08-17 14:26:39 +02:00
|
|
|
"--steam"
|
2023-02-03 11:48:26 +01:00
|
|
|
]
|
|
|
|
},
|
2023-02-02 15:25:26 +01:00
|
|
|
"args": [
|
|
|
|
"build.py",
|
2023-08-12 11:53:34 +02:00
|
|
|
"--type=release",
|
|
|
|
"--deploy-version",
|
2023-08-17 14:26:39 +02:00
|
|
|
"--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",
|
2023-02-03 11:45:49 +01:00
|
|
|
"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
|
|
|
]
|
2022-12-28 11:38:05 +01:00
|
|
|
}
|