okipy/build.sh
2024-05-21 03:19:53 +02:00

14 lines
174 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$(realpath "$0")")"
if ! [ -d venv ]
then ./setup.sh
fi
source venv/bin/activate
rm -fr dist
python -m build
python -m twine check dist/*