From fe0bf982074d54fdf9c2d43df4ee3ccab340ec12 Mon Sep 17 00:00:00 2001 From: Jan Mach <jan.mach@cesnet.cz> Date: Fri, 8 Sep 2017 09:53:28 +0200 Subject: [PATCH] Added master makefile target show-version for showing current project version. This feature will be used in our automated build system. --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile b/Makefile index 11779ce..3bedb91 100644 --- a/Makefile +++ b/Makefile @@ -68,6 +68,7 @@ help: @echo "" @echo " * ${GREEN}default${NC}: alias for help, you have to pick a target" @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}build${NC}: archive previous packages and build new distribution" @echo " * ${GREEN}buildbot${NC}: build new distribution using buildbot automated system" @@ -96,6 +97,13 @@ help: #------------------------------------------------------------------------------- +show-version: FORCE + @PYTHONPATH=lib python3 -c "import typedcols; print(typedcols.__version__);" + + +#------------------------------------------------------------------------------- + + deps: deps-python deps-python: FORCE -- GitLab