Hello,
I have finally discovered what to do here
http://blog.lfe.io/tutorials/2016/03/25/0858-lfe-and-rebar3Since then, I installed the follwoing tasks:
lfe <task>:
compile The LFE rebar3 compiler plugin
lodox Generate documentation from LFE source files.
repl The LFE rebar3 LFE REPL plugin.
version The LFE rebar3 version plugin.
As far I can tell, I have noticed the following issues:
1) everytime I run "rebar3 ..." I get a very annoying list like this:
===> Skipping lfe (from {git,"git://
github.com/rvirding/lfe.git",
{ref,
"b84e9a8a1db6ffdd0cfe593fc8ad440ef72a5511"}}) as an app of the same name has already been fetched
===> Skipping clj (from {git,"git://
github.com/lfex/clj.git",
{tag,"0.3.0"}}) as an app of the same name has already been fetched
===> Skipping clj (from {git,"git://
github.com/lfex/clj.git",
{ref,
"2184d0f1459922145b432cfe19ac6147169383d7"}}) as an app of the same name has already been fetched
.... (and so on, ....)
How can this be turned off?
2) I can enter the lfe shell doing "rebar3 lfe repl", but when I quit, this happens:
> (q)
ok
> {error_logger,{{2016,4,4},{17,23,27}},"Error in process ~p with exit value:~n~p~n",[<0.1331.0>,{terminated,[{io,put_chars,[standard_io,unicode,["1",58,32,"terminated",10]],[]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{lfe_shell,server_loop,2,[{file,"/Users/guimas/Documents/Projetos/Erlang/webapp/_build/default/plugins/lfe/src/lfe_shell.erl"},{line,116}]}]}]}
{error_logger,{{2016,4,4},{17,23,27}},"Error in process ~p with exit value:~n~p~n",[<0.1331.0>,{terminated,[{io,put_chars,[standard_io,unicode,["1",58,32,"terminated",10]],[]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{lfe_shell,server_loop,2,[{file,"/Users/guimas/Documents/Projetos/Erlang/webapp/_build/default/plugins/lfe/src/lfe_shell.erl"},{line,116}]}]}]}
3) For consistency with the default rebar3 tasks, we should be doing "rebar3 lfe shell" instead of "rebar3 lfe repl"
Regards
Mário