From 5b4a76c4847f528911243a02c8eb76d59db1a919 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Tue, 17 Mar 2026 00:26:27 +0000 Subject: [PATCH] add task build preconditions --- Taskfile.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Taskfile.yml b/Taskfile.yml index d10ab3f..ffda6dd 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -22,6 +22,12 @@ tasks: build: desc: Build the project deps: [generate-specs] + preconditions: + - sh: | + if [ ! -f controllerClient/x64/nvdaControllerClient.dll ] || [ ! -f controllerClient/x86/nvdaControllerClient.dll ]; then + exit 1 + fi + msg: 'nvdaControllerClient.dll is missing. See https://github.com/nvaccess/nvda/blob/master/extras/controllerClient/readme.md for instructions on how to obtain it.' cmds: - for: matrix: