2022-12-28 11:38:05 +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"
|
2023-02-02 15:25:26 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Format Cpp files",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"clang_format.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Format CMake files",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"cmake_format.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Format Qml files",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"qml_format.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Run setup.py",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"setup.py"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Export ScreenPlay release, with deploy and steam enabled",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"build.py",
|
|
|
|
"-type=release",
|
2023-02-02 15:35:35 +01:00
|
|
|
"-deploy-version",
|
2023-02-02 15:25:26 +01:00
|
|
|
"-steam"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "process",
|
|
|
|
"label": "Update Qt *.ts translations",
|
|
|
|
"command": "python",
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
|
|
|
"isDefault": true
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
|
|
},
|
|
|
|
"args": [
|
|
|
|
"update_translations.py"
|
|
|
|
]
|
|
|
|
}
|
2022-12-28 11:38:05 +01:00
|
|
|
]
|
|
|
|
}
|