summaryrefslogtreecommitdiff
path: root/inttest/tdeps1/c.hrl
diff options
context:
space:
mode:
authorTim Watson <watson.timothy@gmail.com>2011-10-06 07:55:56 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-10-11 11:23:23 +0200
commit6dfcd8b9f2b1fa73575c353b37e7b7d2e77fa5be (patch)
treecaee132cc8813358ef68d12ef04c64ef1732bb5f /inttest/tdeps1/c.hrl
parent5a0aa04b20cbb56022a7af1e8eee6ee32e668083 (diff)
Support for custom version commands
This patch adds support for customising the way in which rebar generates version numbers for app.src files using the `{vsn,Spec}` approach. Whilst the existing `{vsn,ScmName::atom()}` syntax will continue to work, users can also pass `{vsn,{cmd,Cmd::string()}}` in which case the provided *command* will be used. For example: ```erlang {application, doodah, [ {vsn, {cmd, "git rev-parse --short HEAD"}}]}. ```
Diffstat (limited to 'inttest/tdeps1/c.hrl')
0 files changed, 0 insertions, 0 deletions