49 lines
1.7 KiB
JSON
49 lines
1.7 KiB
JSON
|
|
{
|
|||
|
|
"version": "2.0.0",
|
|||
|
|
"tasks": [
|
|||
|
|
{
|
|||
|
|
"label": "cmake configure",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "cmake",
|
|||
|
|
"args": ["-S", ".", "-B", "build"],
|
|||
|
|
"problemMatcher": [],
|
|||
|
|
"detail": "Разовая конфигурация; raylib 6.0 подтягивается через FetchContent"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"label": "build release",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "cmake",
|
|||
|
|
"args": ["--build", "build", "--config", "Release", "--parallel"],
|
|||
|
|
"group": { "kind": "build", "isDefault": true },
|
|||
|
|
"problemMatcher": ["$msCompile"],
|
|||
|
|
"detail": "Основная сборка -> build/bin/squad_proto.exe"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"label": "build debug",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "cmake",
|
|||
|
|
"args": ["--build", "build", "--config", "Debug", "--parallel"],
|
|||
|
|
"group": "build",
|
|||
|
|
"problemMatcher": ["$msCompile"]
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"label": "accept",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "${workspaceFolder}/build/bin/squad_proto.exe",
|
|||
|
|
"args": ["--accept"],
|
|||
|
|
"dependsOn": "build release",
|
|||
|
|
"problemMatcher": [],
|
|||
|
|
"detail": "Прогнать критерии приёмки из спека (раздел 11)"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"label": "headless 180s",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "${workspaceFolder}/build/bin/squad_proto.exe",
|
|||
|
|
"args": ["--headless", "180"],
|
|||
|
|
"dependsOn": "build release",
|
|||
|
|
"problemMatcher": [],
|
|||
|
|
"detail": "Прогон без окна с метриками"
|
|||
|
|
}
|
|||
|
|
]
|
|||
|
|
}
|