ソースを参照

Merge pull request #1951 from ferd/fix-compiler-behaviour-spec

Fix typespecs of new compiler behaviour
pull/1952/head
Fred Hebert 6年前
committed by GitHub
コミット
0fcf0e0c29
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      src/rebar_compiler.erl

+ 3
- 1
src/rebar_compiler.erl ファイルの表示

@ -20,10 +20,12 @@
src_ext => extension(),
out_mappings => out_mappings()}.
-callback needed_files(digraph:graph(), [file:filename()], out_mappings(),
rebar_app_info:t()) -> [file:filename()].
rebar_app_info:t()) ->
{{[file:filename()], term()}, {[file:filename()], term()}}.
-callback dependencies(file:filename(), file:dirname(), [file:dirname()]) -> [file:filename()].
-callback compile(file:filename(), out_mappings(), rebar_dict(), list()) ->
ok | {ok, [string()]} | {ok, [string()], [string()]}.
-callback clean([file:filename()], rebar_app_info:t()) -> _.
-define(DAG_VSN, 2).
-define(DAG_FILE, "source.dag").

読み込み中…
キャンセル
保存