1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-12-24 11:55:27 +00:00

Git info separated from version in git-config

This commit is contained in:
Antonin Portelli 2017-05-02 20:04:41 +01:00
parent 124bf4d829
commit 58299b8ba2

View File

@ -15,9 +15,10 @@ Known values for OPTION are:
--cxxflags print pre-processor and compiler flags
--ldflags print library linking flags
--libs print library linking information
--summary full build summary
--summary print full build summary
--help display this help and exit
--version output version information
--git print git revision
EOF
@ -43,8 +44,12 @@ while test $# -gt 0; do
;;
--version)
echo v@VERSION@
echo "(@GRID_BRANCH@ @GRID_SHA@)"
echo @VERSION@
exit 0
;;
--git)
echo "@GRID_BRANCH@ @GRID_SHA@"
exit 0
;;
@ -65,7 +70,7 @@ while test $# -gt 0; do
;;
--summary)
echo ""
echo ""
echo "@GRID_SUMMARY@"
echo ""
;;