Files
parsedmarc/build.sh
T
Sean Whalen 87ae6175f2 Update lists
2025-06-08 19:51:13 -04:00

23 lines
353 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 .
ruff check .
cd docs
make clean
make html
touch build/html/.nojekyll
if [ -d "./../parsedmarc-docs" ]; then
cp -rf build/html/* ../../parsedmarc-docs/
fi
sort.sh
python3 tests.py
rm -rf dist/ build/
hatch build