feat: add local install hook

This commit is contained in:
Abhishek Kumar 2026-05-25 17:14:44 +05:30
parent 6b33addb25
commit 1eb6c534d8
4 changed files with 11 additions and 4 deletions

View file

@ -116,4 +116,12 @@ wait "$ui_pid" || fail "npm ci ui"
wait "$ts_pid" || fail "npm ci ts_validator"
step_done
# Optional personal hook: gitignored script for per-developer tools (e.g.
# claude, codex, etc.). Runs only if present; safe to omit.
LOCAL_HOOK="$ROOT_DIR/.devcontainer/install.local.sh"
if [[ -f "$LOCAL_HOOK" ]]; then
printf '\n==> Running local install hook (%s)\n' "$LOCAL_HOOK"
bash "$LOCAL_HOOK"
fi
printf '\nDevcontainer bootstrap complete in %ds.\n' "$((SECONDS - SCRIPT_START))"