diff options
author | Axel Waggershauser <awagger@gmail.com> | 2015-02-11 03:27:40 +0100 |
---|---|---|
committer | Axel Waggershauser <awagger@gmail.com> | 2015-02-11 03:27:40 +0100 |
commit | 223596d7bf8ab9b839e0031022c132a3ccd4fd1d (patch) | |
tree | 8510597bd390076419237f82bd583b0bfefbac4c /test cases | |
parent | bc4b28b06932cb05270345ecb5e686c6c53dd611 (diff) | |
download | meson-223596d7bf8ab9b839e0031022c132a3ccd4fd1d.zip meson-223596d7bf8ab9b839e0031022c132a3ccd4fd1d.tar.gz meson-223596d7bf8ab9b839e0031022c132a3ccd4fd1d.tar.bz2 |
added support for optional custom command and replace_string parameter of vcs_tag
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/common/73 vcstag/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/common/73 vcstag/meson.build b/test cases/common/73 vcstag/meson.build index 23ff487..b37ca6a 100644 --- a/test cases/common/73 vcstag/meson.build +++ b/test cases/common/73 vcstag/meson.build @@ -4,5 +4,11 @@ version_src = vcs_tag(input : 'vcstag.c.in', output : 'vcstag.c', fallback : '1.0.0') +version_src_custom = vcs_tag(input : 'vcstag.c.in', +output : 'vcstag-cusom.c', +command : ['git', 'show-ref', '-s', 'refs/heads/master'], +fallback : '1.0.0') + executable('tagprog', 'tagprog.c', version_src) +executable('tagprog-custom', 'tagprog.c', version_src_custom) |