diff options
Diffstat (limited to 'rebar.config')
-rw-r--r-- | rebar.config | 37 |
1 files changed, 9 insertions, 28 deletions
diff --git a/rebar.config b/rebar.config index 83da0e5..0c6dd3c 100644 --- a/rebar.config +++ b/rebar.config @@ -8,24 +8,23 @@ {providers, "", {git, "https://github.com/tsloughter/providers.git", {tag, "v1.3.1"}}}, - {erlydtl, "", - {git, "https://github.com/erlydtl/erlydtl.git", - {branch, "master"}}}, {relx, "", - {git, "https://github.com/erlware/relx.git", - {branch, "master"}}}, + {git, "https://github.com/tsloughter/relx.git", + {branch, "mustache"}}}, {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}. {escript_incl_apps, - [getopt, merl, erlydtl, erlware_commons, relx, providers, rebar]}. + [getopt, erlware_commons, relx, providers, rebar]}. {escript_top_level_app, rebar}. {escript_name, rebar3}. {escript_emu_args, "%%! +sbtu +A0\n"}. %% escript_incl_extra is for internal rebar-private use only. %% Do not use outside rebar. Config interface is not stable. -{escript_incl_extra, [{"priv/templates/*", "."}, {"rebar/include/*", "."}]}. +{escript_incl_extra, [{"_build/default/lib/relx/priv/templates/*", "."}, + {"priv/templates/*", "."}, + {"rebar/include/*", "."}]}. {erl_opts, [{platform_define, "R14", no_callback_support}, @@ -34,12 +33,7 @@ debug_info, warnings_as_errors]}. -{erlydtl_opts, [{doc_root, "priv/templates"}, - {compiler_options, [report, return, debug_info]}]}. - -{dialyzer_plt_apps, [common_test, dialyzer, erlydtl, eunit, snmp]}. - -{provider_hooks, [{post, [{compile, {erlydtl, compile}}]}]}. +{dialyzer_plt_apps, [common_test, dialyzer, eunit, snmp]}. %% Profiles {profiles, [{test, @@ -50,21 +44,8 @@ }, %% We don't want erlydtl to attempt to run on the first compile pass to bootstrap - {bootstrap, [{overrides, [{override, relx, [{provider_hooks, [{post, []}]}]}]}, - {provider_hooks, [{post, []}]}]} + {bootstrap, []} ]}. %% Overrides -{overrides, [{override, erlware_commons, [{plugins, []}]}, - {override, merl, [{pre_hooks, [{"(linux|darwin|solaris)", compile, "make -C \"$REBAR_DEPS_DIR/merl\" all -W test"}, - {"(freebsd|netbsd|openbsd)", compile, "gmake -C \"$REBAR_DEPS_DIR/merl\" all"}, - {"win32", compile, "make -C \"%REBAR_DEPS_DIR%/merl\" all -W test"}, - {eunit, - "erlc -I include/erlydtl_preparser.hrl -o test" - " test/erlydtl_extension_testparser.yrl"}, - {"(linux|darwin|solaris)", eunit, "make -C \"$REBAR_DEPS_DIR/merl\" test"}, - {"(freebsd|netbsd|openbsd)", eunit, "gmake -C \"$REBAR_DEPS_DIR/merl\" test"}, - {"win32", eunit, "make -C \"%REBAR_DEPS_DIR%/merl\" test"} - ]}]}, - {override, erlydtl, [{pre_hooks, []}]} - ]}. +{overrides, [{override, erlware_commons, [{deps, []}, {plugins, []}]}]}. |