Explorar el Código

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 hace 14 años
cometido por Tuncer Ayaz
padre
commit
7ac3a5aa9b
Se han modificado 2 ficheros con 8 adiciones y 8 borrados
  1. +8
    -0
      src/rebar.erl
  2. +0
    -8
      src/rebar_core.erl

+ 8
- 0
src/rebar.erl Ver fichero

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

+ 0
- 8
src/rebar_core.erl Ver fichero

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

Cargando…
Cancelar
Guardar