11 lines
245 B
Bash
Executable File
11 lines
245 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
activate-venv() {
|
|
if [[ -f ".venv/bin/activate" ]]; then
|
|
source ".venv/bin/activate"
|
|
else
|
|
echo "Could not find .venv/bin/active"
|
|
echo "Init venv with $(uv --version)"
|
|
uv venv
|
|
fi
|
|
} |