소스 검색

template_dir option was forgotten in documentation plus recurse in directory added

pull/1282/head
Sébastien Serre 8 년 전
부모
커밋
c8ec1546e5
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -1
      rebar.config.sample
  2. +1
    -1
      src/rebar_templater.erl

+ 2
- 1
rebar.config.sample 파일 보기

@ -128,7 +128,8 @@
%% Paths to miscellaneous Erlang files to compile for an app
%% without including them in its modules list
{extra_src_dirs, []}.
%% Path where custom rebar3 templates could be found
{template_dir, []}.
%% == EDoc ==

+ 1
- 1
src/rebar_templater.erl 파일 보기

@ -326,7 +326,7 @@ find_other_templates(State) ->
undefined ->
[];
TemplateDir ->
rebar_utils:find_files(TemplateDir, ?TEMPLATE_RE)
rebar_utils:find_files(TemplateDir, ?TEMPLATE_RE, true) % recursive
end.
%% Fetch template indexes that sit on disk in plugins

불러오는 중...
취소
저장