File: hatch.sh

package info (click to toggle)
python-pluggy 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 476 kB
  • sloc: python: 3,344; sh: 58; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 245 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
set -eux -o pipefail
if [[ ! -d hatch ]]; then
    git clone https://github.com/pypa/hatch
fi
pushd hatch && trap popd EXIT
git pull
python -m venv venv
venv/bin/pip install -e . -e ./backend  -e ../..
venv/bin/hatch run dev