Просмотр исходного кода

Add hooks for getting list of release modules

pull/3/head
Dave Smith 15 лет назад
Родитель
Сommit
a8fd5bc56f
1 измененных файлов: 3 добавлений и 6 удалений
  1. +3
    -6
      src/rebar_config.erl

+ 3
- 6
src/rebar_config.erl Просмотреть файл

@ -60,12 +60,9 @@ new(Dir) ->
get_modules(Config, app) ->
case orddict:find(app_modules, Config#config.opts) of
error ->
[];
{ok, Modules} ->
Modules
end.
get_list(Config, app_modules, []);
get_modules(Config, rel) ->
get_list(Config, rel_modules, []).
get_list(Config, Key, Default) ->
case orddict:find(Key, Config#config.opts) of

Загрузка…
Отмена
Сохранить