11 lines
210 B
Bash
Executable File
11 lines
210 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Must be sourced: source init.sh
|
|
|
|
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
|
|
echo "Error: run as 'source init.sh' or '. init.sh'" >&2
|
|
exit 1
|
|
fi
|
|
|
|
uv sync
|
|
source .venv/bin/activate
|