mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-07 03:22:33 +01:00
58567987aa
We now use always the latest set git tag as version. This means we also no longer need to add it as an argument
136 lines
3.5 KiB
JSON
136 lines
3.5 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": "Format Cpp files",
|
|
"command": "python3",
|
|
"windows": {
|
|
"command": "python"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
},
|
|
"args": [
|
|
"clang_format.py"
|
|
]
|
|
},
|
|
{
|
|
"type": "process",
|
|
"label": "Format CMake files",
|
|
"command": "python3",
|
|
"windows": {
|
|
"command": "python"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
},
|
|
"args": [
|
|
"cmake_format.py"
|
|
]
|
|
},
|
|
{
|
|
"type": "process",
|
|
"label": "Format Qml files",
|
|
"command": "python3",
|
|
"windows": {
|
|
"command": "python"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
},
|
|
"args": [
|
|
"qml_format.py"
|
|
]
|
|
},
|
|
{
|
|
"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": "Export 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": "Update Qt *.ts translations",
|
|
"command": "python3",
|
|
"windows": {
|
|
"command": "python"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/Tools"
|
|
},
|
|
"args": [
|
|
"update_translations.py"
|
|
]
|
|
}
|
|
]
|
|
} |