<div dir="ltr">Hey<div><br></div><div>This looks cool!</div><div><br></div><div>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?</div>
<div><br></div><div>Cheers,</div><div>Gleb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 27, 2013 at 4:43 PM, Dave Parfitt <span dir="ltr"><<a href="mailto:dparfitt@basho.com" target="_blank">dparfitt@basho.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello -<br></div><div><br></div><div>I'd like to announce the first beta release of erln8 [0]. erln8 allows you</div>
<div>build Erlang from one or many git repos, and then "set and forget" a version</div>
<div>of Erlang *per directory*. If a suitable version of Erlang isn't found in</div><div>the current directory, erln8 searches up the directory tree until it finds one.</div><div><br></div><div>Basic features:</div><div>
- specify the version of Erlang to use for a directory and all it's</div><div> subdirectories with a simple command such as:</div><div><br></div><div> erln8 --use R16B03</div><div><br></div><div> This creates a simple erln8.config file in the cwd specifying the version</div>
<div> of Erlang to use.</div><div><br></div><div>- supports multiple git repos, build from any branch/tag</div><div><br></div><div>- building from the canonical OTP git repo is as simple as:</div><div> erln8 --build --tag OTP_R16B02 --id R16B02</div>
<div><br></div><div>- shell completion for erln8 commands and command parameters</div><div> (bash-only for now)</div><div><br></div><div>- "link" to already built installations of Erlang so you can take</div>
<div> advantage or erln8's --use command.</div><div><br></div><div>- store build configurations in ~/.erln8.d/config so you don't have to copy</div><div> and paste them each time. Specify a configuration at build time with --config my_config.</div>
<div><br></div><div>- written in C w/ glib</div><div><br></div><div>I'm sure there are some bugs to be worked out. Please feel free to submit</div><div>issues or pull requests via Github at [2].</div><div><br></div><div>
And yes, I've heard of kerl [1], and it works great, but I wanted to build</div><div>and manage Erlang sources from git and be able to "set and forget" a version</div><div>of Erlang for a given directory. If you have any comments or suggestions,</div>
<div>please respond to me offline at [3], and flaming arrows can be sent to [4].</div><div><br></div><div>Happy New Year!</div><div>Dave</div><div><br></div><div>[0] <a href="http://metadave.github.io/erln8/" target="_blank">http://metadave.github.io/erln8/</a> </div>
<div>[1] <a href="https://github.com/spawngrid/kerl" target="_blank">https://github.com/spawngrid/kerl</a> </div><div>[2] <a href="https://github.com/metadave/erln8" target="_blank">https://github.com/metadave/erln8</a> </div>
<div>[3] diparfitt at gmail</div>
<div>[4] /dev/null</div><div><br></div></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>