summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2018-11-18 07:36:54 -0700
committerTristan Sloughter <t@crashfast.com>2018-11-18 07:36:54 -0700
commitbeb8878a6c73d37e05a167b974d965ede005f2f8 (patch)
tree03826dc2f68c809e4ec6c562f7698ad2ed29f390
parent8d31d559c18b12d3d06655de2ca9c7f76c67c948 (diff)
fix needed_files type spec
-rw-r--r--src/rebar_compiler.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_compiler.erl b/src/rebar_compiler.erl
index 256794a..092f898 100644
--- a/src/rebar_compiler.erl
+++ b/src/rebar_compiler.erl
@@ -19,7 +19,8 @@
include_dirs => [file:dirname()],
src_ext => extension(),
out_mappings => out_mappings()}.
--callback needed_files(digraph:graph(), [file:filename()], list(), rebar_app_info:t()) -> [file:filename()].
+-callback needed_files(digraph:graph(), [file:filename()], out_mappings(),
+ rebar_app_info:t()) -> [file:filename()].
-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()]}.