From b63328bb16adf491fef45a9e1488718f427d095c Mon Sep 17 00:00:00 2001 From: Slava Yurin Date: Fri, 14 Dec 2012 10:45:57 +0700 Subject: [PATCH] Correct ext of neotoma output file --- src/rebar_neotoma_compiler.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rebar_neotoma_compiler.erl b/src/rebar_neotoma_compiler.erl index 33f32e3..93facf4 100644 --- a/src/rebar_neotoma_compiler.erl +++ b/src/rebar_neotoma_compiler.erl @@ -53,8 +53,8 @@ compile(Config, _AppFile) -> rebar_base_compiler:run(Config, [], option(doc_root, NeoOpts), ".peg", option(out_dir, NeoOpts), - option(module_ext, NeoOpts) ++ ".beam", - fun compile_neo/3, [{check_last_mod,false}]). + option(module_ext, NeoOpts) ++ ".erl", + fun compile_neo/3, [{check_last_mod, true}]). %% ============================================================================ %% Internal functions