--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/fce061e6-cab4-458e-a6cc-0ee095ee0a26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4%2BdO5oO0Z9BGwbX2ZuJ3BXYSWe9fHHDJ%3DeVX-ZsS2eBvg%40mail.gmail.com.
You could add something like the following to your ~/.iex file to create a list of local script files:local_scripts = :os.cmd('ls *.exs') |> to_string |> String.split(~r{\n}) |> Enum.reject(fn(e) -> e == "" end)
On Sun, Aug 2, 2015 at 2:21 AM, José Valim <jose....@plataformatec.com.br> wrote:--We support a list to be passed to c/1. So we recommend you to just keep a list around, and pass it every time you want to compile everything. We had something like you proposed but it ended-up just causing confusion. Another idea is to support directories, so you could keep all of them in a directory and just compile it.On Sat, Aug 1, 2015 at 11:37 PM, Felix Bünemann <felix.b...@gmail.com> wrote:Hello,I'm currently learning Elixir, so I#m working with lot's of small .exs files, which I usually start with iex foo.exs.It would be nice if there was a c/0 (or maybe r/0) function that recompiled the files passed on the command line, so I wouldn't need to re-type the filename with c/1 or restart iex.Example:iex foo.exsiex>c[Foo]Regards,Felix
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a8692734-f0e6-4c17-95de-56ba824d1a9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/55BF5616.2040702%40wildgooses.com.