aboutsummaryrefslogtreecommitdiffstats
path: root/rebar.config
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2015-02-28 15:41:33 -0600
committerTristan Sloughter <[email protected]>2015-04-17 09:59:43 -0500
commitc57c2dcd2484fec4bec3d97463ae5457ad6cb853 (patch)
tree42e0003ae84e6004313fe3afbf357ea076fb6dd3 /rebar.config
parentf9c074798872d119b603dd977a946f6ad1021ba0 (diff)
downloadrelx-c57c2dcd2484fec4bec3d97463ae5457ad6cb853.tar.gz
relx-c57c2dcd2484fec4bec3d97463ae5457ad6cb853.tar.bz2
relx-c57c2dcd2484fec4bec3d97463ae5457ad6cb853.zip
update erlydtl and switch to rebar3
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config38
1 files changed, 21 insertions, 17 deletions
diff --git a/rebar.config b/rebar.config
index b67d1f8..8f27793 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,26 +1,21 @@
%% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
%% Dependencies ================================================================
-{deps, [{rebar_vsn_plugin, ".*",
- {git, "https://github.com/erlware/rebar_vsn_plugin.git",
- {branch, "master"}}},
- {neotoma, ".*",
- {git, "https://github.com/seancribbs/neotoma.git", {branch, "master"}}},
- {erlware_commons, ".*",
+{deps, [{erlware_commons, ".*",
{git, "https://github.com/erlware/erlware_commons.git",
{branch, "master"}}},
{providers, ".*",
{git, "https://github.com/tsloughter/providers.git",
- {tag, "v1.0.0"}}},
+ {tag, "v1.3.0"}}},
{erlydtl, ".*",
{git, "https://github.com/erlydtl/erlydtl.git",
- {tag, "0.9.0"}}},
+ {branch, "master"}}},
{getopt, "",
{git, "https://github.com/jcomellas/getopt.git",
{branch, "master"}}}]}.
-%% Rebar Plugins ==============================================================
-{plugin_dir, "deps/rebar_vsn_plugin/src"}.
-{plugins, [rebar_vsn_plugin]}.
+{escript_emu_args, "%%! +sbtu +A0 -noinput\n"}.
+{escript_incl_apps,
+ [getopt, erlware_commons, merl, erlydtl, providers, relx]}.
%% Compiler Options ============================================================
{erl_opts,
@@ -32,13 +27,22 @@
%% EUnit =======================================================================
{eunit_opts,
[{report, {eunit_surefire, [{dir, "."}]}}]}.
-{cover_enabled, true}.
-{cover_print_enabled, true}.
-%% Misc =======================================================================
+%% Erlydtl =====================================================================
{erlydtl_opts, [{doc_root, "priv/templates"},
+ force_recompile,
{compiler_options, [report, return, debug_info]}]}.
-{escript_incl_apps,
- [getopt, erlware_commons, erlydtl, providers]}.
-{escript_emu_args, "%%! +sbtu +A0 -noinput\n"}.
+{provider_hooks, [{post, [{compile, {erlydtl, compile}}]}]}.
+
+%% Profiles ====================================================================
+
+{profiles, [{dev, [{deps, [{neotoma, ".*",
+ {git, "https://github.com/seancribbs/neotoma.git", {branch, "master"}}}
+ ]}
+ ]
+ }]}.
+
+{ct_opts, [{cover_spec, "cover.spec"},
+ {cover_enabled, true},
+ {cover_print_enabled, true}]}.