Move BUILD_TIME and VCS_INFO macros

I have moved these macros from rebar_core.erl to rebar.erl
in order to prevent eunit tests from failing (which they
currently are).
This commit is contained in:
Tim Watson 2011-01-26 02:15:27 +00:00 committed by Tuncer Ayaz
parent b894682ba9
commit 7ac3a5aa9b
2 changed files with 8 additions and 8 deletions

View file

@ -33,6 +33,14 @@
-include("rebar.hrl"). -include("rebar.hrl").
-ifndef(BUILD_TIME).
-define(BUILD_TIME, "undefined").
-endif.
-ifndef(VCS_INFO).
-define(VCS_INFO, "undefined").
-endif.
%% ==================================================================== %% ====================================================================
%% Public API %% Public API
%% ==================================================================== %% ====================================================================

View file

@ -34,14 +34,6 @@
-include("rebar.hrl"). -include("rebar.hrl").
-ifndef(BUILD_TIME).
-define(BUILD_TIME, "undefined").
-endif.
-ifndef(VCS_INFO).
-define(VCS_INFO, "undefined").
-endif.
%% =================================================================== %% ===================================================================
%% Public API %% Public API
%% =================================================================== %% ===================================================================