Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.
/ repl Public archive

rebar3 Plugin for the LFE REPL

License

Notifications You must be signed in to change notification settings

lfe-rebar3/repl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED / ARCHIVED

This functionality is now available in the far more streamlined project https://github.com/lfe-rebar3/rebar3_lfe

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