aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-04-28 22:36:44 -0500
committerTristan Sloughter <[email protected]>2015-05-08 11:16:53 -0500
commit88d1f29257869b0de9369881236477163804125a (patch)
treec14b95ae8efdebcf074d314b6b0afb662f3454fb /rebar.config
parenta36609536aaf7d98b5bd5d3364cab739dc6689b5 (diff)
downloadrelx-88d1f29257869b0de9369881236477163804125a.tar.gz
relx-88d1f29257869b0de9369881236477163804125a.tar.bz2
relx-88d1f29257869b0de9369881236477163804125a.zip
use mustache instead of erlydtl for overlays
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config16
1 files changed, 6 insertions, 10 deletions
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}]}.