Skip to content

Commit

Permalink
Merge pull request #1951 from ferd/fix-compiler-behaviour-spec
Browse files Browse the repository at this point in the history
Fix typespecs of new compiler behaviour
  • Loading branch information
ferd authored Nov 23, 2018
2 parents c2076a6 + 5b51f3c commit 0fcf0e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rebar_compiler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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").
Expand Down

0 comments on commit 0fcf0e0

Please sign in to comment.