File: datasette.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 244 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash
set -eux -o pipefail
if [[ ! -d datasette ]]; then
    git clone https://github.com/simonw/datasette
fi
pushd datasette && trap popd EXIT
git pull
python -m venv venv
venv/bin/pip install -e .[test] -e ../..
venv/bin/pytest