Skip to content

Commit

Permalink
Make the Makefile more useful
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Warner <[email protected]>
  • Loading branch information
brianwarner committed Oct 8, 2024
1 parent 818c923 commit f2e4048
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit f2e4048

Please sign in to comment.