mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Only run pre/post scripts for current directory; thanks to Tim Watson for pointing this out
This commit is contained in:
parent
448e1ea20b
commit
370d8df02f
2 changed files with 2 additions and 2 deletions
|
@ -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 ->
|
||||||
|
|
|
@ -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…
Reference in a new issue