From 313e059f367f2ac291cd409e77d22673f9595848 Mon Sep 17 00:00:00 2001 From: Qrius Date: Wed, 5 Mar 2025 08:41:05 +0100 Subject: First iteration of py skaldpress version --- Makefile | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..dc25faa --- /dev/null +++ b/Makefile @@ -0,0 +1,38 @@ +.PHONY: test build minorbump publish install clean + +venv/bin/tt: src/timetracker/*.py venv + . venv/bin/activate && \ + python -m pip install -e .[dev] + +venv: pyproject.toml + python3 -m venv venv + +build: venv + . venv/bin/activate && \ + python -m pip install build twine && \ + python -m build && \ + python -m twine check dist/* + +minorbump: + . venv/bin/activate && \ + bumpver update --patch + +publish: minorbump build + . venv/bin/activate && \ + twine upload dist/* + +install: venv + python -m pip install . + +clean: + rm -rf venv + rm -rf dist + +test: + . venv/bin/activate && \ + black --check src && \ + mypy src/ && \ + pyflakes src/ && \ + ./tests/test_macro_processor.sh && \ + ./tests/test_skaldpress.sh + -- cgit v1.2.3