Skip to content

Commit

Permalink
Move BUILD_TIME and VCS_INFO macros
Browse files Browse the repository at this point in the history
I have moved these macros from rebar_core.erl to rebar.erl
in order to prevent eunit tests from failing (which they
currently are).
  • Loading branch information
hyperthunk authored and Tuncer Ayaz committed Jan 29, 2011
1 parent b894682 commit 7ac3a5a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/rebar.erl
Expand Up @@ -33,6 +33,14 @@

-include("rebar.hrl").

-ifndef(BUILD_TIME).
-define(BUILD_TIME, "undefined").
-endif.

-ifndef(VCS_INFO).
-define(VCS_INFO, "undefined").
-endif.

%% ====================================================================
%% Public API
%% ====================================================================
Expand Down
8 changes: 0 additions & 8 deletions src/rebar_core.erl
Expand Up @@ -34,14 +34,6 @@
-include("rebar.hrl").


-ifndef(BUILD_TIME).
-define(BUILD_TIME, "undefined").
-endif.

-ifndef(VCS_INFO).
-define(VCS_INFO, "undefined").
-endif.

%% ===================================================================
%% Public API
%% ===================================================================
Expand Down

0 comments on commit 7ac3a5a

Please sign in to comment.