Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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).
  • Loading branch information...
commit 7ac3a5aa9b03e8e1a1c5b3d8fcdfeedd6819c074 1 parent b894682
@hyperthunk hyperthunk authored tuncer committed
Showing with 8 additions and 8 deletions.
  1. +8 −0 src/rebar.erl
  2. +0 −8 src/rebar_core.erl
View
8 src/rebar.erl
@@ -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
%% ====================================================================
View
8 src/rebar_core.erl
@@ -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
%% ===================================================================
Please sign in to comment.
Something went wrong with that request. Please try again.