diff --git a/Makefile b/Makefile index f057af1..9578c41 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,19 @@ clean: - rm -rf \ __pycache__ \ src/talkgooder/__pycache__ \ + tests/__pycache__ \ .pytest_cache \ dist \ _version.py \ src/*.egg-info \ docsrc/_doctrees + +test: + pytest + +build: clean test + python3 -m build + +html: build + sphinx-build -b html docsrc docs -E -d "docsrc/_doctrees"