소스 검색

Tweak regex to properly match extension and not just .erl anywhere in filename

pull/3/head
Dave Smith 15 년 전
부모
커밋
42647f4c22
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rebar_erlc_compiler.erl

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

@ -66,7 +66,7 @@ clean(_Config, _AppFile) ->
doterl_compile(Config, Outdir) ->
FirstErls = rebar_config:get_list(Config, erl_first_files, []),
RestErls = [Source || Source <- rebar_utils:find_files("src", ".*.erl"),
RestErls = [Source || Source <- rebar_utils:find_files("src", ".*\\.erl\$"),
lists:member(Source, FirstErls) == false],
rebar_base_compiler:run(Config, FirstErls, RestErls,
fun(S, C) -> internal_erl_compile(S, C, Outdir) end).

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