Add version command to Makefile

This commit is contained in:
2023-01-28 19:14:32 +01:00
parent 050b923631
commit 7913f5151e

View File

@@ -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/##/:/'`); \