From 068cf6887489087cd26657a937a932e82106b47f Mon Sep 17 00:00:00 2001 From: Luca Sbardella Date: Sat, 16 Mar 2019 15:25:44 +0000 Subject: [PATCH] makefile --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile 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__)"