bitwalker / distillery

Simplify deployments in Elixir with OTP releases!
MIT License
2.96k stars 397 forks source link

Fix the dependencies inclusion on `include_erts: path` #643

Closed ejpcmac closed 5 years ago

ejpcmac commented 5 years ago

Summary of changes

When doing include_erts: "some/path", the previous code would have included only the applications from the Erlang/OTP distrubution specified as path, but not those from the mix.exs (fixes #574).

As all the expected applications are already assembled in tmpdir, simply adding the contents of tmpdir/lib in all non-false include_erts cases seems to be OK.

Checklist

Licensing/Copyright

By submitting this PR, you agree to the following statement, please read before submission!

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for Distillery (the "Contribution"). My Contribution is licensed under the MIT License.

NOTE: If you submit a PR and remove the statement above, your PR will be rejected. For your PR to be considered, it must contain your agreement to license under the MIT license.

bitwalker commented 5 years ago

Fixed in master