mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
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:
parent
b894682ba9
commit
7ac3a5aa9b
2 changed files with 8 additions and 8 deletions
|
@ -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
|
||||
%% ====================================================================
|
||||
|
|
|
@ -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
|
||||
%% ===================================================================
|
||||
|
|
Loading…
Reference in a new issue