Kaynağa Gözat

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

Dave Smith 15 yıl önce
ebeveyn
işleme
370d8df02f
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. +1
    -1
      src/rebar_post_script.erl
  2. +1
    -1
      src/rebar_pre_script.erl

+ 1
- 1
src/rebar_post_script.erl Dosyayı Görüntüle

@ -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 Dosyayı Görüntüle

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

Yükleniyor…
İptal
Kaydet