feat: add idempotent developer environment bootstrap

This commit is contained in:
archipelago
2026-10-09 08:00:06 -04:00
parent 16c84c450e
commit 540f581927
2 changed files with 71 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT=$(cd "$(dirname "$0")/../.." && pwd)
output=$(PATH=/usr/bin:/bin "$ROOT/scripts/archy-developer-setup" --check 2>&1 || true)
grep -qE '^(ok|missing)[[:space:]]' <<<"$output"
! grep -q 'sudo -n apt-get' <<<"$output"
printf 'archy-developer-setup check is non-mutating\n'