Procházet zdrojové kódy

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

Fix typespecs of new compiler behaviour
pull/1952/head
Fred Hebert před 6 roky
odevzdal GitHub
rodič
revize
0fcf0e0c29
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
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