Procházet zdrojové kódy

Fix typespecs of new compiler behaviour

pull/1951/head
Fred Hebert před 6 roky
rodič
revize
5b51f3cf59
1 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. +3
    -1
      src/rebar_compiler.erl

+ 3
- 1
src/rebar_compiler.erl Zobrazit soubor

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

Načítá se…
Zrušit
Uložit