Explorar el Código

Only run pre/post scripts for current directory; thanks to Tim Watson for pointing this out

Dave Smith hace 14 años
padre
commit
370d8df02f
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      src/rebar_post_script.erl
  2. +1
    -1
      src/rebar_pre_script.erl

+ 1
- 1
src/rebar_post_script.erl Ver fichero

@ -47,7 +47,7 @@ clean(Config, _) ->
%% ===================================================================
execute_post_script(Config, Key) ->
case rebar_config:get(Config, Key, undefined) of
case rebar_config:get_local(Config, Key, undefined) of
undefined ->
ok;
Script ->

+ 1
- 1
src/rebar_pre_script.erl Ver fichero

@ -47,7 +47,7 @@ clean(Config, _) ->
%% ===================================================================
execute_pre_script(Config, Key) ->
case rebar_config:get(Config, Key, undefined) of
case rebar_config:get_local(Config, Key, undefined) of
undefined ->
ok;
Script ->

Cargando…
Cancelar
Guardar