From 5b5ccb372f2ebe6eb07236d1b2d599d7cc27be08 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 4 Mar 2025 10:01:48 +0000 Subject: [PATCH] chore: add `yq` to `bootstrap.sh check` --- bootstrap.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 4793529c9486..50b296b366a0 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -32,6 +32,12 @@ function check_toolchains { exit 1 fi done + if ! yq --version | grep "version v4" > /dev/null; then + encourage_dev_container + echo "yq v4 not installed." + echo "Installation: https://github.com/mikefarah/yq/#install" + exit 1 + fi # Check cmake version. local cmake_min_version="3.24" local cmake_installed_version=$(cmake --version | head -n1 | awk '{print $3}')