{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "2.0.0", "tasks": [ { "label": "gettext - Scan", "type": "shell", "command": "cmd", "args": [ "/c", "gettext_scan.bat" ], "options": { "cwd": "scripts", "env": { "UNATTENDED": "1", "PYTHON": "${env:CDL_PYTHONEXE}" } }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": false } }, { "label": "gettext - Compile", "type": "shell", "command": "cmd", "args": [ "/c", "gettext.bat", "compile" ], "options": { "cwd": "scripts", "env": { "UNATTENDED": "1", "PYTHON": "${env:CDL_PYTHONEXE}" } }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": false } }, { "label": "Run Pylint", "type": "shell", "command": "cmd", "args": [ "/c", "run_pylint.bat", "--disable=fixme", ], "options": { "cwd": "scripts", "env": { "UNATTENDED": "1", "PYTHON": "${env:CDL_PYTHONEXE}" } }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "showReuseMessage": true, "clear": true } }, { "label": "Run Ruff", "type": "shell", "command": "cmd", "args": [ "/c", "run_ruff.bat", ], "options": { "cwd": "scripts", "env": { "PYTHON": "${env:CDL_PYTHONEXE}", "UNATTENDED": "1" } }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "showReuseMessage": true, "clear": true } }, { "label": "Run Coverage", "type": "shell", "command": "cmd", "args": [ "/c", "run_coverage.bat" ], "options": { "cwd": "scripts", "env": { "UNATTENDED": "1", "PYTHON": "${env:CDL_PYTHONEXE}" } }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "dedicated", "showReuseMessage": true, "clear": true } }, { "label": "Clean Up", "type": "shell", "command": "cmd", "args": [ "/c", "clean_up.bat" ], "options": { "cwd": "scripts" }, "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": false } }, { "label": "Build documentation", "type": "shell", "command": "cmd", "options": { "cwd": "scripts", "env": { "PYTHON": "${env:CDL_PYTHONEXE}", "QT_COLOR_MODE": "light", "UNATTENDED": "1" } }, "args": [ "/c", "build_doc.bat" ], "problemMatcher": [], "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": true } }, { "label": "Build Python packages", "type": "shell", "command": "cmd", "options": { "cwd": "scripts", "env": { "PYTHON": "${env:CDL_PYTHONEXE}", "UNATTENDED": "1" } }, "args": [ "/c", "build_dist.bat" ], "problemMatcher": [], "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared", "showReuseMessage": true, "clear": true }, "dependsOrder": "sequence", "dependsOn": [ "Clean Up" ] }, ] }