yaap/.vscode/tasks.json

99 lines
No EOL
4.2 KiB
JSON

{
"version": "2.0.0",
"command": "",
"args": [],
"tasks": [
{
"label": "Build Debug",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/scripts/build_debug.bat",
},
"linux": {
"command": "${workspaceFolder}/scripts/build_debug.sh",
},
"osx": {
"command": "${workspaceFolder}/scripts/build_debug.sh",
},
"group": {
"kind": "build",
"isDefault": false
},
},
{
"label": "Build Release",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/scripts/build_release.bat",
},
"linux": {
"command": "${workspaceFolder}/scripts/build_release.sh",
},
"osx": {
"command": "${workspaceFolder}/scripts/build_release.sh",
},
"group": "build"
},
{
"label": "Clean build folder(s)",
"type": "shell",
"windows": {
"command": "cd ${workspaceFolder}\\build && rm game*; cd ${workspaceFolder} && rm aseprite_odin_generator*",
},
// "linux": {
// "command": "${workspaceFolder}/scripts/build_release.sh",
// },
// "osx": {
// "command": "${workspaceFolder}/scripts/build_release.sh",
// },
"group": "build"
},
{
"label": "Build Hot Reload",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/scripts/build_hot_reload.bat; start game.exe",
},
"linux": {
"command": "${workspaceFolder}/scripts/build_hot_reload.sh",
},
"osx": {
"command": "${workspaceFolder}/scripts/build_hot_reload.sh",
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
},
"group": {
"kind": "build",
"isDefault": false
},
},
{
"label": "Build&Run Atlas Generator Test",
"type": "shell",
"windows": {
"command": "${workspaceFolder}/scripts/build_generator_debug.bat && build_generator\\aseprite_odin_generator.exe",
},
"options": {
"cwd": "${workspaceFolder}"
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
},
"group": {
"kind": "build",
"isDefault": true
},
}
]
}