erlware / relx

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

Prepare for sys.config.src in OTP21 #646

Closed tsloughter closed 6 years ago

tsloughter commented 6 years ago

OTP21 will support building a release tarball with a file sys.config.src instead of sys.config that does not have to be legal Erlang. We should be using this file, if it exists, when replacing OS vars at runtime, instead of the current way of copying/replacing of sys.config.

We'll also need to update the release build code to recognize sys.config.src.

I suppose a new config option will be needed?

{sys_config_src, "config/sys.config.src"}
tsloughter commented 6 years ago

Done.