Closed benoitc closed 8 years ago
reading the code here:
https://github.com/barrel-db/rebar3_elixir/blob/master/src/rebar3_elixir_util.erl#L5-L18
It seems you're trying to get the configuration by rereading rebar.config. Why don't you use the rebar api to read the configuration?
also we should have a default configuration if possible. You can look at the elixir path from the env. This snippet allows you to get the path of the elixir or mix binaries. From there you should be able to retrieve the path.
@benoitc Auto discovery enabled with fallback to elixir_opts, view https://github.com/barrel-db/rebar3_elixir/commit/9051bbcff7be0946ef128c36b8aeb090bb173476#diff-bdb0c478c1116e1795bc2871d77b6df6R30
I was unable to compile a simple test:
Steps to reproduce:
1) Create an app:
rebar3 new app testapp
2) edit the filerebar.config
in the testapp folder:3) run
rebar3 compile
You get the following trace when runn