1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-22 10:42:29 +01:00

Fix osx build.py args

This commit is contained in:
Elias Steurer 2023-02-03 11:48:26 +01:00
parent d07f3db58e
commit 0d8d0cef58

123
.vscode/tasks.json vendored
View File

@ -1,94 +1,113 @@
{ {
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"type": "cmake", "type": "cmake",
"label": "CMake: build", "label": "CMake: build",
"command": "build", "command": "build",
"targets": [ "targets": [
"all" "all"
], ],
"preset": "${command:cmake.activeBuildPresetName}", "preset": "${command:cmake.activeBuildPresetName}",
"group": "build", "group": "build",
"problemMatcher": [], "problemMatcher": [],
"detail": "CMake template build task" "detail": "CMake template build task"
}, },
{ {
"type": "process", "type": "process",
"label": "Format Cpp files", "label": "Format Cpp files",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"args": [ "args": [
"clang_format.py" "clang_format.py"
] ]
}, },
{ {
"type": "process", "type": "process",
"label": "Format CMake files", "label": "Format CMake files",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"args": [ "args": [
"cmake_format.py" "cmake_format.py"
] ]
}, },
{ {
"type": "process", "type": "process",
"label": "Format Qml files", "label": "Format Qml files",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"args": [ "args": [
"qml_format.py" "qml_format.py"
] ]
}, },
{ {
"type": "process", "type": "process",
"label": "Run setup.py", "label": "Run setup.py",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"args": [ "args": [
"setup.py" "setup.py"
] ]
}, },
{ {
"type": "process", "type": "process",
"label": "Export ScreenPlay release, with deploy and steam enabled", "label": "Export ScreenPlay release, with deploy and steam enabled",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"osx": {
"args": [
"build.py",
"-type=release",
"-deploy-version",
"-steam",
"-architecture=arm64"
]
},
"args": [ "args": [
"build.py", "build.py",
"-type=release", "-type=release",
@ -96,21 +115,23 @@
"-steam" "-steam"
] ]
}, },
{ {
"type": "process", "type": "process",
"label": "Update Qt *.ts translations", "label": "Update Qt *.ts translations",
"command": "python3", "command": "python3",
"windows": { "command": "python" }, "windows": {
"command": "python"
},
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
}, },
"options": { "options": {
"cwd": "${workspaceFolder}/Tools" "cwd": "${workspaceFolder}/Tools"
}, },
"args": [ "args": [
"update_translations.py" "update_translations.py"
] ]
} }
] ]
} }