From efe1ecd4cdf1447c118188cd63fb07f48629eec4 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Thu, 20 Jul 2023 16:15:21 -0500 Subject: [PATCH] workflow/tools - trivial cleanup (#9274) * workflow - trivial cleanup * Add Validate headers to vscode tasks --- .github/workflows/pboproject.yml | 1 - tools/.vscode/tasks.json | 15 ++++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pboproject.yml b/.github/workflows/pboproject.yml index bb9f036860..5701966e44 100644 --- a/.github/workflows/pboproject.yml +++ b/.github/workflows/pboproject.yml @@ -64,7 +64,6 @@ jobs: run: | subst P: . pboproject -P - xcopy /e /h /q z\ace\tools\pDummies\A3\ui_f_enoch a3\ui_f_enoch\ xcopy /e /h /q z\ace\tools\pDummies\gm gm\ xcopy /e /h /q z\ace\tools\pDummies\vn vn\ - name: Build diff --git a/tools/.vscode/tasks.json b/tools/.vscode/tasks.json index 5b54cf3f4d..233c20e78c 100644 --- a/tools/.vscode/tasks.json +++ b/tools/.vscode/tasks.json @@ -49,6 +49,18 @@ }, "args": [ "sqfvmChecker.py" + ], + "problemMatcher": [] + }, + { + "label": "Validate headers", + "command": "${config:python.pythonPath}", + "options": { + "cwd": "${workspaceFolder}/docs/tools" + }, + "args": [ + "document_functions.py", + "--debug" ] }, { @@ -57,13 +69,14 @@ "Validate SQF", "Validate Config", "Validate Stringtables", + "Validate headers", "Check Strings", "SQFVM Checker" ], "group": { "kind": "test", "isDefault": true - }, + } }, { "label": "Build: make.py (pboProject)",