barrel-db / rebar3_elixir_compile

Elixir rebar3 compiler plugin
Other
90 stars 29 forks source link

Non dev environment/just fetch "real dependencies" #20

Open PragTob opened 7 years ago

PragTob commented 7 years ago

:wave:

Thanks for doing this!

I used it in an example project to add my benchee library. It has only one dependency, however when I install it with this it also installs and fetches all my precious dev dependencies:

tobi@speedy ~/github/benchee_erlang $ rebar3 compile
===> Verifying dependencies...
===> Upgrading benchee ({elixir,"benchee","0.8.0"})
Dependency benchee already exists

Running dependency resolution...
All dependencies up to date
===> App bunt is no longer needed and can be deleted.
===> App credo is no longer needed and can be deleted.
===> App deep_merge is no longer needed and can be deleted.
===> App dialyxir is no longer needed and can be deleted.
===> App earmark is no longer needed and can be deleted.
===> App ex_doc is no longer needed and can be deleted.
===> App fs is no longer needed and can be deleted.
===> App mix_test_watch is no longer needed and can be deleted.
===> Compiling benchee_erlang
===> Adding Elixir Libs

I thought setting the elixir_opts env to something else might solve it but then the compilation fails altogether.

I'd be happy about any help - thanks! :tada: