diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2012-06-04 08:46:17 -0600 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2012-06-04 08:46:17 -0600 |
commit | 0f24d9325659742da8b829fbd5b82ba0cec169da (patch) | |
tree | 2eb54bd1a88492acb462cd1553ad643891cecb15 /src | |
parent | c13889618d0ad921e4e6ab07a0aae1560e8ac988 (diff) |
Move to major.minor.patch release version; add OTP build version
version info
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar.erl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/rebar.erl b/src/rebar.erl index 1f72a4c..4c1d20d 100644 --- a/src/rebar.erl +++ b/src/rebar.erl @@ -41,6 +41,10 @@ -define(VCS_INFO, "undefined"). -endif. +-ifndef(OTP_INFO). +-define(OTP_INFO, "undefined"). +-endif. + %% ==================================================================== %% Public API %% ==================================================================== @@ -202,8 +206,8 @@ set_log_level(Options) -> %% version() -> {ok, Vsn} = application:get_key(rebar, vsn), - ?CONSOLE("rebar version: ~s date: ~s vcs: ~s\n", - [Vsn, ?BUILD_TIME, ?VCS_INFO]). + ?CONSOLE("rebar ~s ~s ~s ~s\n", + [Vsn, ?OTP_INFO, ?BUILD_TIME, ?VCS_INFO]). %% |