Files
parsedmarc/build.sh
Jed Laundry 8444053476 Create optional dependency group for build, fix codecov (#567)
* Create optional dependency groups for build and cli

* revert cli optional-dependencies group
2024-10-07 13:47:35 -04:00

20 lines
293 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [ ! -d "venv" ]; then
virtualenv venv || exit
fi
. venv/bin/activate
pip install .[build]
ruff format .
cd docs
make clean
make html
touch build/html/.nojekyll
cp -rf build/html/* ../../parsedmarc-docs/
cd ..
python3 tests.py
rm -rf dist/ build/
hatch build