New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include_src: true
does not include source of Elixir apps
#683
Comments
Here's a quick workaround via a plugin: https://gist.github.com/hrubi/a2d646d49c2da00e703bb748e1a6a485 I'll try to find time to send a pull request with a proper fix to distillery. |
hrubi
added a commit
to hrubi/distillery
that referenced
this issue
Jun 20, 2019
The option `include_src: true` now includes the source code of applications which are built from this project. That means: - the top-level app - umbrella apps - dependencies Fix bitwalker#683
hrubi
added a commit
to hrubi/distillery
that referenced
this issue
Jun 21, 2019
The option `include_src: true` now includes the source code of applications which are built from this project. That means: - the top-level app - umbrella apps - dependencies Fix bitwalker#683
hrubi
added a commit
to hrubi/distillery
that referenced
this issue
Jun 25, 2019
The option `include_src: true` now includes the source code of applications which are built from this project. That means: - the top-level app - umbrella apps - dependencies Fix bitwalker#683
bitwalker
pushed a commit
that referenced
this issue
Jul 1, 2019
The option `include_src: true` now includes the source code of applications which are built from this project. That means: - the top-level app - umbrella apps - dependencies Fix #683
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
Reproducing on bare
myapp
created bymix new myapp
with addeddistillery
dependency.Verbose Logs
Description of issue
Running
mix release
withinclude_src: true
includes sources only for the apps which has an OTP compliant directory layout in the place where distillery looks. In my case, that's just system-wide Erlang libraries (e.g. kernel, stdlib).For the applications built from the repository, Distillery looks only into
_build/prod/lib/*
where it find onlyebin
and possiblypriv
. The source code lies elsewhere, in my case it'slib/
for themyapp
(would beapps/myapp/lib
in the case of an umbrella app) anddeps/*/lib
forartificery
anddistillery
. None of them is assembled into the release.Also the sources for
elixir
,iex
andmix
are missing, but that's understandable as in my case the Elixir installation from package (Gentoo) does not include the source code.The documentation says:
Distillery: 2.0.14
Erlang: 21
Elixir: 1.8.2
OS: Gentoo Linux
The text was updated successfully, but these errors were encountered: