Debian Codegraph @

scripts/setup

raw
1 #!/bin/sh
2
3 # script/setup: Set up project for first-time use after cloning
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 Python with uv..."
16 uv python install
17
18 scripts/bootstrap
19
20 echo "==> Project is now ready to go!"