Browse Source

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

Fix typespecs of new compiler behaviour
pull/1952/head
Fred Hebert 6 years ago
committed by GitHub
parent
commit
0fcf0e0c29
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/rebar_compiler.erl

+ 3
- 1
src/rebar_compiler.erl View File

@ -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").

Loading…
Cancel
Save