mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
feat: add local install hook
This commit is contained in:
parent
6b33addb25
commit
1eb6c534d8
4 changed files with 11 additions and 4 deletions
|
|
@ -63,8 +63,7 @@
|
|||
"ms-python.debugpy",
|
||||
"ms-azuretools.vscode-docker",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode",
|
||||
"bradlc.vscode-tailwindcss"
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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))"
|
||||
|
|
|
|||
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -11,7 +11,7 @@ infrastructure/
|
|||
prd/
|
||||
.vercel
|
||||
|
||||
api/.env.devcontainer
|
||||
.devcontainer/install.local.sh
|
||||
venv/
|
||||
.venv/
|
||||
.playwright-mcp
|
||||
|
|
|
|||
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
|
@ -4,7 +4,7 @@
|
|||
// - Python interpreter selected in VS Code (devcontainer sets this
|
||||
// automatically; otherwise pick `./venv/bin/python` via the
|
||||
// "Python: Select Interpreter" command).
|
||||
// - api/.env exists (copy from api/.env.example, or api/.env.devcontainer
|
||||
// - api/.env exists (copy from api/.env.example
|
||||
// is created automatically by the devcontainer post-create script).
|
||||
// - api/.env.test exists for the test configurations (copy from
|
||||
// api/.env.example and point at a throwaway database).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue