Files
sublime-music/.envrc
2020-10-13 21:10:03 -06:00

18 lines
377 B
Bash

use nix
# Run poetry install if there's not a virtualenv already.
if [[ ! -d .venv ]]; then
echo "No virtualenv found, installing dependencies using Poetry..."
poetry install -E chromecast -E keyring -E server
fi
# Activate the virtualenv
source .venv/bin/activate
watch_file pyproject.toml
watch_file poetry.lock
watch_file setup.py
watch_file shell.nix
unset PS1