瀏覽代碼

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

Dave Smith 14 年之前
父節點
當前提交
370d8df02f
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/rebar_post_script.erl
  2. +1
    -1
      src/rebar_pre_script.erl

+ 1
- 1
src/rebar_post_script.erl 查看文件

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

+ 1
- 1
src/rebar_pre_script.erl 查看文件

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

Loading…
取消
儲存