From 88d1f29257869b0de9369881236477163804125a Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 28 Apr 2015 22:36:44 -0500 Subject: use mustache instead of erlydtl for overlays --- rebar.config | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'rebar.config') diff --git a/rebar.config b/rebar.config index 74ae226..facbdc8 100644 --- a/rebar.config +++ b/rebar.config @@ -6,16 +6,17 @@ {providers, ".*", {git, "https://github.com/tsloughter/providers.git", {tag, "v1.3.0"}}}, - {erlydtl, ".*", - {git, "https://github.com/erlydtl/erlydtl.git", + {mustache, ".*", + {git, "https://github.com/soranoba/mustache.git", {branch, "master"}}}, {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}. +{escript_incl_extra, [{"priv/templates/*", "."}]}. {escript_emu_args, "%%! +sbtu +A0 -noinput\n"}. {escript_incl_apps, - [getopt, erlware_commons, merl, erlydtl, providers, relx]}. + [getopt, erlware_commons, providers, relx]}. %% Compiler Options ============================================================ {erl_opts, @@ -28,13 +29,6 @@ {eunit_opts, [{report, {eunit_surefire, [{dir, "."}]}}]}. -%% Erlydtl ===================================================================== -{erlydtl_opts, [{doc_root, "priv/templates"}, - force_recompile, - {compiler_options, [report, return, debug_info]}]}. - -{provider_hooks, [{pre, [{compile, {erlydtl, compile}}]}]}. - %% Profiles ==================================================================== {profiles, [{dev, [{deps, [{neotoma, ".*", @@ -43,6 +37,8 @@ ] }]}. +{overrides, [{override, mustache, [{deps, []}, {plugins, []}]}]}. + {ct_opts, [{cover_spec, "cover.spec"}, {cover_enabled, true}, {cover_print_enabled, true}]}. -- cgit v1.2.3