summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-10-18 23:04:25 -0500
committerTristan Sloughter <t@crashfast.com>2014-10-18 23:04:25 -0500
commitb1e9930efc8169b0181c17c49949c964b8e5346a (patch)
tree313aafc63f38857f5d0f385fcba04d261dd5a383 /src
parentf76da2e075b90225b727c8ffd30f2a5924723ddf (diff)
fix erlydtl compile
Diffstat (limited to 'src')
-rw-r--r--src/rebar_erlydtl_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlydtl_compiler.erl b/src/rebar_erlydtl_compiler.erl
index 5fecd48..1a4de6b 100644
--- a/src/rebar_erlydtl_compiler.erl
+++ b/src/rebar_erlydtl_compiler.erl
@@ -231,7 +231,7 @@ do_compile(Config, Source, Target, DtlOpts) ->
Opts = lists:ukeymerge(1, DtlOpts, Sorted),
?INFO("Compiling \"~s\" -> \"~s\" with options:~n ~s~n",
[Source, Target, io_lib:format("~p", [Opts])]),
- case erlydtl:compile(ec_cnv:to_binary(Source),
+ case erlydtl:compile_file(ec_cnv:to_list(Source),
list_to_atom(module_name(Target)),
Opts) of
{ok, _Mod} ->