From 7473e471dc69d09a35bb0762549cc4f3ab8b04b3 Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 1 Feb 2022 22:08:54 +0100 Subject: Add some documentation --- Makefile | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 966f2a0..c7a70a1 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,21 @@ -PYTHON ?= python -PYTEST ?= pytest +PYTHON ?= python +PYTEST ?= pytest +SPHINX_BUILD ?= sphinx-build + +all: docs sdist bdist_wheel .PHONY: clean -clean: doc-clean +clean: find . -name '*.pyc' -delete rm -rf *.egg-info rm -f .coverage rm -f coverage.xml + rm -rf docs/_build + +.PHONY: docs +docs: + sphinx-build -E docs docs/_build .PHONY: test test: @@ -30,7 +38,7 @@ bdist_wheel: python3 setup.py bdist_wheel upload: sdist bdist_wheel - twine upload -s -i contact@gerbonara.io --config-file ~/.pypirc --skip-existing --repository pypi dist/* + twine upload -s -i gerbonara@jaseg.de --config-file ~/.pypirc --skip-existing --repository pypi dist/* testupload: sdist bdist_wheel twine upload --config-file ~/.pypirc --skip-existing --repository testpypi dist/* -- cgit