[erlang-questions] ANN: erln8: an Erlang version manager
Sat Dec 28 00:10:56 CET 2013
Hello Gleb -
Thanks for the reply. I wrote up a quick "How it works" and placed it in
the readme . erln8 takes care of starting the appropriate version of
Erlang for you via symlinks + checking argv upon startup.
Regarding rebar, I've been building and working on Riak with erln8 + rebar
for a couple months now. If you really want to see which version of Erlang
is being run during a build, you can set banner=true in ~/.erln8.d/config.
On Fri, Dec 27, 2013 at 11:58 AM, Gleb Peregud <gleber.p@REDACTED> wrote:
> This looks cool!
> I have a quick question. How does it work under the hood? How does my
> shell know to start the "erl" binary from the appropriate version when I
> use erln8? Or is it my responsibility to start appropriate version? How
> does it work with rebar?
> On Fri, Dec 27, 2013 at 4:43 PM, Dave Parfitt <dparfitt@REDACTED> wrote:
>> Hello -
>> I'd like to announce the first beta release of erln8 . erln8 allows you
>> build Erlang from one or many git repos, and then "set and forget" a
>> of Erlang *per directory*. If a suitable version of Erlang isn't found in
>> the current directory, erln8 searches up the directory tree until it
>> finds one.
>> Basic features:
>> - specify the version of Erlang to use for a directory and all it's
>> subdirectories with a simple command such as:
>> erln8 --use R16B03
>> This creates a simple erln8.config file in the cwd specifying the
>> of Erlang to use.
>> - supports multiple git repos, build from any branch/tag
>> - building from the canonical OTP git repo is as simple as:
>> erln8 --build --tag OTP_R16B02 --id R16B02
>> - shell completion for erln8 commands and command parameters
>> (bash-only for now)
>> - "link" to already built installations of Erlang so you can take
>> advantage or erln8's --use command.
>> - store build configurations in ~/.erln8.d/config so you don't have to
>> and paste them each time. Specify a configuration at build time with
>> --config my_config.
>> - written in C w/ glib
>> I'm sure there are some bugs to be worked out. Please feel free to submit
>> issues or pull requests via Github at .
>> And yes, I've heard of kerl , and it works great, but I wanted to build
>> and manage Erlang sources from git and be able to "set and forget" a
>> of Erlang for a given directory. If you have any comments or suggestions,
>> please respond to me offline at , and flaming arrows can be sent to
>> Happy New Year!
>>  http://metadave.github.io/erln8/
>>  https://github.com/spawngrid/kerl
>>  https://github.com/metadave/erln8
>>  diparfitt at gmail
>>  /dev/null
>> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions