citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit 493e7ae60d8c426c3940517bb9d91d0c7828c868
parent a53f93d968a1a77928e6e3e1ca5dac476e364617
Author: Kyle Milz <kyle@0x30.net>
Date:   Sat,  2 Jul 2016 17:24:34 -0600

bin: use a hardcoded value for version

Diffstat:
MJamrules | 1+
Mbin/Jamfile | 2+-
Mbin/citrun-wrap.in | 2+-
3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jamrules b/Jamrules @@ -1,3 +1,4 @@ +VERSION = 0 ; PREFIX ?= `pwd` ; # Packaging systems like for build systems to respect this. diff --git a/bin/Jamfile b/bin/Jamfile @@ -8,7 +8,7 @@ rule Generate actions Generate { - sed -e s,%PREFIX%,$(PREFIX), -e s,%GIT_HASH%,`git rev-parse --short HEAD`, < $(2) > $(1) ; + sed -e s,%PREFIX%,$(PREFIX), -e s,%VERSION%,$(VERSION), < $(2) > $(1) ; chmod 755 $(1) ; } diff --git a/bin/citrun-wrap.in b/bin/citrun-wrap.in @@ -1,7 +1,7 @@ #!/bin/sh if [ "${1}" = "-v" ]; then - echo %GIT_HASH% + echo %VERSION% exit 0 fi