mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-02-17 07:03:58 +00:00
21 lines
306 B
Bash
Executable File
21 lines
306 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
|
|
cp -rf build/html/* ../../parsedmarc-docs/
|
|
cd ..
|
|
python3 tests.py
|
|
rm -rf dist/ build/
|
|
hatch build |