Skip to content
Snippets Groups Projects
Commit fe0bf982 authored by Jan Mach's avatar Jan Mach
Browse files

Added master makefile target show-version for showing current project version.

This feature will be used in our automated build system.
parent 7a452520
Branches
Tags
No related merge requests found
...@@ -68,6 +68,7 @@ help: ...@@ -68,6 +68,7 @@ help:
@echo "" @echo ""
@echo " * ${GREEN}default${NC}: alias for help, you have to pick a target" @echo " * ${GREEN}default${NC}: alias for help, you have to pick a target"
@echo " * ${GREEN}help${NC}: print this help and exit" @echo " * ${GREEN}help${NC}: print this help and exit"
@echo " * ${GREEN}show-version${NC}: show current project version"
@echo " * ${GREEN}full${NC}: generate documentation, archive previous packages, build new distribution and deploy to PyPI" @echo " * ${GREEN}full${NC}: generate documentation, archive previous packages, build new distribution and deploy to PyPI"
@echo " * ${GREEN}build${NC}: archive previous packages and build new distribution" @echo " * ${GREEN}build${NC}: archive previous packages and build new distribution"
@echo " * ${GREEN}buildbot${NC}: build new distribution using buildbot automated system" @echo " * ${GREEN}buildbot${NC}: build new distribution using buildbot automated system"
...@@ -96,6 +97,13 @@ help: ...@@ -96,6 +97,13 @@ help:
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
show-version: FORCE
@PYTHONPATH=lib python3 -c "import typedcols; print(typedcols.__version__);"
#-------------------------------------------------------------------------------
deps: deps-python deps: deps-python
deps-python: FORCE deps-python: FORCE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment