Procházet zdrojové kódy

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).
pull/3/head
Tim Watson před 14 roky
odevzdal Tuncer Ayaz
rodič
revize
7ac3a5aa9b
2 změnil soubory, kde provedl 8 přidání a 8 odebrání
  1. +8
    -0
      src/rebar.erl
  2. +0
    -8
      src/rebar_core.erl

+ 8
- 0
src/rebar.erl Zobrazit soubor

@ -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
%% ==================================================================== %% ====================================================================

+ 0
- 8
src/rebar_core.erl Zobrazit soubor

@ -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
%% =================================================================== %% ===================================================================

Načítá se…
Zrušit
Uložit