소스 검색

fix callback typespecs

pull/2246/head
Fred Hebert 5 년 전
부모
커밋
4ae23c6881
1개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. +6
    -2
      src/rebar_compiler.erl

+ 6
- 2
src/rebar_compiler.erl 파일 보기

@ -31,10 +31,14 @@
-callback dependencies(file:filename(), file:dirname(), [file:dirname()]) -> [file:filename()].
-callback dependencies(file:filename(), file:dirname(), [file:dirname()], term()) -> [file:filename()].
-callback compile(file:filename(), out_mappings(), rebar_dict(), list()) ->
ok | {ok, [string()]} | {ok, [string()], [string()]}.
ok | {ok, [string()]} | error | {error, [string()], [string()]} | skipped.
-callback compile_and_track(file:filename(), out_mappings(), rebar_dict(), list()) ->
{ok, [{file:filename(), file:filename(), term()}]} |
{ok, [{file:filename(), file:filename(), term()}], [string()]} |
{error, [string()], [string()]} | error.
-callback clean([file:filename()], rebar_app_info:t()) -> _.
-optional_callbacks([dependencies/4]).
-optional_callbacks([dependencies/4, compile_and_track/4]).
-define(RE_PREFIX, "^(?!\\._)").

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