소스 검색

Fix dependancy checking for headers by ensuring "include" is always in the eep IncludePath

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

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

@ -96,7 +96,7 @@ doterl_compile(Config, OutDir, MoreSources) ->
-spec include_path(Source::string(), Config::#config{}) -> [string()].
include_path(Source, Config) ->
ErlOpts = rebar_config:get(Config, erl_opts, []),
[filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
["include", filename:dirname(Source)] ++ proplists:get_all_values(i, ErlOpts).
-spec inspect(Source::string(), IncludePath::[string()]) -> {string(), [string()]}.
inspect(Source, IncludePath) ->

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