From 219ee737619ebd038a16a1f9a2e62e65e3b5412e Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Mon, 7 Oct 2024 10:08:13 -0400 Subject: [PATCH] Add just build --- MANIFEST.in | 2 +- justfile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 288a643..cbdee5d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,6 +1,6 @@ include *.rst include pyproject.toml -include Makefile +include justfile include LICENSE include .readthedocs.yaml recursive-include docs *.rst diff --git a/justfile b/justfile index a59f174..e545d90 100644 --- a/justfile +++ b/justfile @@ -33,3 +33,9 @@ docs: devenv SPHINXBUILD={{sphinxbuild}} make -e -C docs/ clean SPHINXBUILD={{sphinxbuild}} make -e -C docs/ doctest SPHINXBUILD={{sphinxbuild}} make -e -C docs/ html + +build: devenv + rm -rf build/ dist/ + uv run python -m build + uv run twine check dist/* + uv run check-manifest