diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7ab9283 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +.PHONY: help + +help: + @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' + +clean: ## remove python cache files + find . -name '__pycache__' | xargs rm -rf + find . -name '*.pyc' -delete + rm -rf build + rm -rf dist + rm -rf .pytest_cache + rm -rf .coverage + +version: ## dipsplay software version + @python3 -c "import ccy; print(ccy.__version__)"