mweberUKL / repl

rebar3 Plugin for the LFE REPL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lfe-repl

The LFE rebar3 REPL plugin

Contents

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)
>

About

rebar3 Plugin for the LFE REPL

License:Other


Languages

Language:Erlang 100.0%