hatch.sh (245B)
1 #!/usr/bin/env bash 2 set -eux -o pipefail 3 if [[ ! -d hatch ]]; then 4 git clone https://github.com/pypa/hatch 5 fi 6 pushd hatch && trap popd EXIT 7 git pull 8 python -m venv venv 9 venv/bin/pip install -e . -e ./backend -e ../.. 10 venv/bin/hatch run dev