Files
sublime-music/.envrc
2020-10-15 00:16:05 -06:00

17 lines
357 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 shell.nix
unset PS1