erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Optional dependenices are fetched. #141

Closed mpope9 closed 4 years ago

mpope9 commented 4 years ago

I have an elixir dependency that I am pulling in, and it seems that optional dependencies are being fetched. Example:

{deps, [mint]}

And the dep castore is fetched, but it is listed as optional in the Mint library's mix.exs file:

defp deps do
   [
      {:castore, "~> 0.1.0", optional: true},
...
   ]
end

I am also using rebar3_elixir, so I am unsure of which of these plugins would be triggering this to be pulled.

mpope9 commented 4 years ago

Hmm it might be how the rebar3_elixir library parses the mix.lock file, closing this unless it is actually an issue in this lib.