This functionality is now available in the far more streamlined project https://github.com/lfe-rebar3/rebar3_lfe
The LFE rebar3 REPL plugin
Build ↟
$ rebar3 compile
Use ↟
Add the required plugins and provider hooks to your rebar.config
:
{plugins, [
{'lfe-compile',
{git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.4.0"}}},
{'lfe-repl',
{git, "https://github.com/lfe-rebar3/repl.git", {tag, "0.2.1"}}}
]}.
{provider_hooks, [
{pre, [{compile, {lfe, compile}}]}
]}.
Then just call your plugin directly from your project directory:
$ rebar3 help lfe repl
The LFE rebar3 LFE REPL plugin.
Start an LFE REPL for a project with its dependencies preloaded, similar to
'lfe -pa ebin -pa deps/*/ebin' with support for -name and -sname parameters.
$ rebar3 lfe repl
LFE Shell V7.0 (abort with ^G)
>