bcao/build.sh

19 lines
331 B
Bash
Raw Normal View History

2021-01-18 12:26:28 +00:00
#!/usr/bin/env bash
# poetry build
if ! vermin -q -t=3.6 .; then
echo "Minimum version requirement not met! Cancelling build :c"
exit 1
fi
if ! mypy .; then
echo "Error while running mypy!"
exit 1
fi
2021-09-17 10:02:44 +00:00
set -e
2021-01-18 12:26:28 +00:00
poetry install
poetry export --without-hashes -o requirements.txt
pex . -r requirements.txt -e bcao -o bcao.pex