erlware / relx

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

Start script should error if a OS var doesn't exist #716

Open tsloughter opened 5 years ago

tsloughter commented 5 years ago

Currently if a variable is used in vm.args or sys.config but isn't set then it just gets replaced with nothing. So having +S ${SCHEDULERS} and forgetting to set SCHEDULERS will result in a confusing error message on startup.

Better would be if the script errored and told the user what variables were not set.

colrack commented 4 years ago

@tsloughter I'm working to submit a patch for this, PR soon

tsloughter commented 4 years ago

@colrack any update on this?

colrack commented 4 years ago

@tsloughter see #764 for an initial proposal