Current section

Files

Jump to
lutil rebar.config
Raw

rebar.config

{deps, [
{lfe, {git, "https://github.com/rvirding/lfe.git", {tag, "v1.2.0"}}}
]}.
{plugins, [
{'lfe-compile', {git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc2"}}}
% {'lfe-test', {git, "https://github.com/lfe-rebar3/test.git", {tag, "0.4.0-rc3"}}},
% {'lfe-clean', {git, "https://github.com/lfe-rebar3/clean.git", {tag, "0.4.0-rc2"}}}
]}.
{provider_hooks, [{pre, [{compile, {lfe, compile}}]}]}.
{profiles, [
%% As an alternative to the default Github repos, you can use the Gitlab
%% mirror with the following:
%% $ rebar3 as gitlab compile
{gitlab, [
{deps, [
{lfe, {git, "https://gitlab.com/lfe/lfe.git", {tag, "v1.2.0"}}}
% {ltest, {git, "https://gitlab.com/lfex/ltest.git", {tag, "0.10.0-rc5"}}}
]}
% {plugins, [
% {'lfe-compile', {git, "https://gitlab.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc2"}}},
% {'lfe-test', {git, "https://gitlab.com/lfe-rebar3/test.git", {tag, "0.4.0-rc3"}}}]}
]},
%% Or use Hex.pm instead with:
%% $ rebar3 as hexpm compile
{hexpm, [
{deps, [{lfe, "1.2.0"}
% {ltest, "0.10.0-rc5"}
]},
% {plugins, [{rebar3_lfe_compile, "0.8.0-rc2"},
% {rebar3_lfe_test, "0.4.0-rc3"},
% {rebar3_lfe_clean, "0.4.0-rc2"}]},
{erl_opts, [{src_dirs, ["src", "test"]}]}
]},
{dev, [
{deps, [
{lfe, {git, "https://github.com/rvirding/lfe.git", {tag, "v1.2.0"}}},
{'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}]},
{plugins, [
% {'lfe-compile', {git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.8.0-rc2"}}},
{'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}]}
]},
{test, [
{deps, [
{ltest, {git, "https://github.com/lfex/ltest.git", {tag, "0.10.0-rc5"}}},
{'lfe-version', {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.5.0-rc2"}}}]},
{plugins, [
{'lfe-test', {git, "https://github.com/lfe-rebar3/test.git", {tag, "0.4.0-rc3"}}}]},
{eunit_opts, [verbose]},
{erl_opts, [{src_dirs, ["src", "test"]}]}
]}
]}.