-
Notifications
You must be signed in to change notification settings - Fork 21
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
Support for sys.config.src #245
Comments
🤔 Can you show me a sample config.src file? I was not aware of that kind of file existence at all. |
I believe it is a Rebar3/Relx feature:
http://rebar3.org/docs/deployment/releases/#environment-variable-replacement |
I'm not sure how easy it would be to support, before substitution the files are not valid terms |
Yeah… Not easy at all. |
Yeah maybe this is beyond the scope of a formatter, it's impossible to know even what the variables will expand to anyway |
It's not beyond the scope of the formatter (it can format those files without expanding them) but it's beyond the current capabilities of OTP's |
Is there any support for the config.src format?
When I run the formatter against sys.config.src it puts it the whole config onto a single line - is this format not supported, or do I need to tweak my config?
The text was updated successfully, but these errors were encountered: