From 1d124d29d45a6062715fa8edd783bea504a68cc1 Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Sun, 3 May 2026 13:10:06 -0500 Subject: [PATCH] feat: add Makefile for easy build and test --- Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ba149b6 --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.PHONY: install test build clean help + +install: + pip install -e ".[dev]" + +test: + pytest tests/ -v + +build: + python -m build + +clean: + rm -rf dist/ build/ .venv/ + find . -type d -name __pycache__ -exec rm -rf {} + + find . -type f -name "*.pyc" -delete + +help: + @echo "Available commands:" + @echo " make install - Install in development mode" + @echo " make test - Run tests" + @echo " make build - Build package" + @echo " make clean - Clean build artifacts" + @echo " make - Run tests (default)" + +.DEFAULT_GOAL := help + +test: test