Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions hack/test-templates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ scriptdir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# shellcheck source=common.inc.sh
source "${scriptdir}/common.inc.sh"

# Check required prerequisites before doing anything else
for _cmd in limactl jq curl timeout diff perl; do
if ! command -v "$_cmd" &>/dev/null; then
ERROR "Required prerequisite not found: $_cmd"
exit 1
fi
done

if [ "$#" -ne 1 ]; then
ERROR "Usage: $0 FILE.yaml"
exit 1
Expand Down
Loading