added make test and cleanup

This commit is contained in:
Erik Frojdh
2023-05-31 13:47:24 +02:00
parent 05822e1c0c
commit 6013f94d01
5 changed files with 15 additions and 91 deletions

View File

@ -9,5 +9,8 @@ debug: ## Build extension with debug prints and assertions
clean: ## Remove the build folder and the shared library
rm -rf build/ creader.cpython*
test: ## Run unit tests using pytest
python -m pytest
help: # from compiler explorer
@grep -E '^[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'