From 7913f5151ee0a4843b7c04974aa730ea4c8521ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Sat, 28 Jan 2023 19:14:32 +0100 Subject: [PATCH] Add version command to Makefile --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 53b8218..ffc0216 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,11 @@ install: ## Build extension audit: ## Audit pip pip-audit +version: + @echo "Current Python version .: $(shell python --version)" + @echo "Current FImdlp version .: $(shell python -c "from fimdlp import _version; print(_version.__version__)")" + @echo "Installed FImdlp version: $(shell pip show fimdlp | grep Version | cut -d' ' -f2)" + help: ## Show help message @IFS=$$'\n' ; \ help_lines=(`fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##/:/'`); \