cfg/bin/venv
Knut Ahlers efc8bc4f3c
Throw shfmt against bash scripts
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-03-10 12:47:55 +01:00

9 lines
162 B
Bash
Executable file

#!/bin/bash
set -ex
set -o pipefail
[ -e .venv ] || virtualenv "$@" .venv
source .venv/bin/activate
[ -f requirements.txt ] && pip install -r requirements.txt