blob: 8f1b5d27cac7c01cb439a4179873448e906a17f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
# Check if Poetry is installed
if ! command -v poetry &> /dev/null
then
echo "Poetry not found, installing..."
curl -sSL https://install.python-poetry.org | python3 -
fi
# Install or update dependencies & create .venv if it doesn't exist
echo "Installing dependencies..."
poetry install
echo "Running type generation..."
poetry run typegen
|