Godot 4.7 project for authoring, previewing, validating, and building Exchanger PCK themes. Includes the example and space-pixel themes, binding contracts, editor tooling, validation/build scripts, and project documentation.
165 lines
4.2 KiB
JSON
165 lines
4.2 KiB
JSON
{
|
||
"version": "2.0.0",
|
||
"tasks": [
|
||
{
|
||
"label": "Theme: активировать",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\activate-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}"
|
||
],
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: запустить preview",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\preview-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}"
|
||
],
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: проверить validator и preview smoke",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\test-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}"
|
||
],
|
||
"group": "test",
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: проверить только validator",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\test-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}",
|
||
"-SkipPreviewSmoke"
|
||
],
|
||
"group": "test",
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: проверить копии контракта",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\tools\\Test-PackagedBindingContract.ps1"
|
||
],
|
||
"group": "test",
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: сверить контракт с Exchanger",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\tools\\Sync-HostBindingContract.ps1",
|
||
"-HostProject",
|
||
"${input:hostProject}",
|
||
"-Check"
|
||
],
|
||
"group": "test",
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: собрать PCK",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\build-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}"
|
||
],
|
||
"group": "build",
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: собрать и установить PCK (заменяет установленную тему)",
|
||
"detail": "Перезаписывает active_theme.pck в пользовательском каталоге Exchanger.",
|
||
"type": "process",
|
||
"command": "powershell.exe",
|
||
"args": [
|
||
"-NoLogo",
|
||
"-NoProfile",
|
||
"-ExecutionPolicy",
|
||
"Bypass",
|
||
"-File",
|
||
"${workspaceFolder}\\build-theme.ps1",
|
||
"-ThemeId",
|
||
"${input:themeId}",
|
||
"-InstallToDefaultUserPath"
|
||
],
|
||
"problemMatcher": []
|
||
},
|
||
{
|
||
"label": "Theme: полный локальный QA",
|
||
"dependsOrder": "sequence",
|
||
"dependsOn": [
|
||
"Theme: проверить копии контракта",
|
||
"Theme: проверить validator и preview smoke",
|
||
"Theme: собрать PCK"
|
||
],
|
||
"problemMatcher": []
|
||
}
|
||
],
|
||
"inputs": [
|
||
{
|
||
"id": "themeId",
|
||
"type": "promptString",
|
||
"description": "ID каталога темы внутри themes/",
|
||
"default": "space-pixel"
|
||
},
|
||
{
|
||
"id": "hostProject",
|
||
"type": "promptString",
|
||
"description": "Полный или относительный путь к совместимому проекту Exchanger",
|
||
"default": "..\\exchanger"
|
||
}
|
||
]
|
||
}
|