scripts/bootstrap
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # script/bootstrap: Install/update all dependencies required to run the project |
| 4 | |
| 5 | set -e |
| 6 | |
| 7 | cd "$(dirname "$0")/.." |
| 8 | |
| 9 | echo "==> Checking for uv..." |
| 10 | if ! command -v uv >/dev/null 2>&1; then |
| 11 | echo "UV not found, re-build the devcontainer..." |
| 12 | exit 1 |
| 13 | fi |
| 14 | |
| 15 | echo "==> Installing dependencies..." |
| 16 | uv sync --dev --all-extras |
| 17 | |
| 18 | echo "==> Bootstrap completed!" |