barrel-db / rebar3_elixir_compile

Elixir rebar3 compiler plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

discover apps from deps

benoitc opened this issue · comments

Right now it seems that the elixir applications are discovered from a static folder:
https://github.com/barrel-db/rebar3_elixir/blob/master/src/rebar3_elixir_util.erl#L29

Instead we should use applications listed in deps and check if mix.exs is present and then compile it using mix until rebar.config is not present. Thoughts?

Checks for mix.exs, if present uses mix to compile