Procházet zdrojové kódy

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

Dave Smith před 14 roky
rodič
revize
370d8df02f
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +1
    -1
      src/rebar_post_script.erl
  2. +1
    -1
      src/rebar_pre_script.erl

+ 1
- 1
src/rebar_post_script.erl Zobrazit soubor

@ -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 Zobrazit soubor

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

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