Refactor repo for standalone portable provider workflow

This commit is contained in:
beatz174-bit
2026-04-21 13:10:19 +10:00
parent bf179254b5
commit 3b6d62ba07
9 changed files with 171 additions and 203 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
set -euo pipefail
echo "[setup-dev] Validating local toolchain"
for cmd in bash git go; do
if ! command -v "$cmd" >/dev/null 2>&1; then
echo "[setup-dev][error] Missing required command: $cmd" >&2
exit 1
fi
echo "[setup-dev] $cmd: $(command -v "$cmd")"
done
if command -v terraform >/dev/null 2>&1; then
echo "[setup-dev] terraform: $(command -v terraform)"
else
echo "[setup-dev][warn] terraform not found (only required for terraform validate and acceptance workflows)"
fi
echo "[setup-dev] Toolchain validation complete"