Skip to content
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

The mix release does not copy include folders #13145

Closed
x0id opened this issue Nov 24, 2023 · 0 comments
Closed

The mix release does not copy include folders #13145

x0id opened this issue Nov 24, 2023 · 0 comments

Comments

@x0id
Copy link

x0id commented Nov 24, 2023

Elixir and Erlang/OTP versions

$ elixir --version
Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit:ns] [dtrace]

Elixir 1.15.7 (compiled with Erlang/OTP 26)

Operating system

any

Current behavior

The "mix help release" clearly states the target app structure contains "include" folders, but the actual release assemble code doesn't copy it. This line in the code https://github.com/elixir-lang/elixir/blame/7d04c40fc09696f0180baef6b088da87234afd0c/lib/mix/lib/mix/release.ex#L71 shows that only "priv" dirs are copied.
Having "include" in the release is important for troubleshooting issues when we need to import records defined in header files, for example.

Expected behavior

The mix release is expected to copy applications' include folders as per the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant