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