erlware / relx

Sane, simple release creation for Erlang
http://erlware.github.io/relx
Apache License 2.0
697 stars 232 forks source link

remove doc and man dir from erts when copying to release #761

Closed tsloughter closed 4 years ago

tsloughter commented 4 years ago

Brought up by an issue on Elixir's release building https://github.com/elixir-lang/elixir/issues/9514 -- don't know why we've never hit this, but even if for whatever reason how we build the release doesn't break on symlinks these dirs aren't needed. Mine are always empty in the erts I bulid a release against so I'd never noticed these as potential things to drop.

I'd like a future task to be to look at bin and include, I would think we can remove shit from there too. I've never bothered to figure out what since the size of everything in them is so small compared to the VM it wasn't a priority.

tsloughter commented 4 years ago

Resolved on master and OTP-23, only what is needed to run a release is kept in erts/bin.