#!/usr/bin/env bash
#
# Build project.
# Source: https://setuptools.pypa.io/en/latest/build_meta.html

set -o errexit
set -o pipefail
set -o nounset

echo "Build project"

echo "Deleting old builds in $(pwd)/dist"
ls -l dist/
rm -rf dist/*

echo "Executing python3 -m build"
python3 -m build
