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

special handling of relx configs in profiles #942

Merged
merged 1 commit into from
Nov 26, 2015

Conversation

tsloughter
Copy link
Collaborator

Relx config need new values at the end of the list and
profile additions prepended. So now in apply_profile in
the case it is a relx config we prepend the config list.
This does, however, mean that a profile release can not
'extend' a release defined in the default profile since
the one being extended would have its definition after
the profile release and thus relx would not be able to
use its values for extending.

Fixes #936

Relx config need new values at the end of the list and
profile additions prepended. So now in apply_profile in
the case it is a relx config we prepend the config list.
This does, however, mean that a profile release can not
'extend' a release defined in the default profile since
the one being extended would have its definition after
the profile release and thus relx would not be able to
use its values for extending.
@ferd
Copy link
Collaborator

ferd commented Nov 26, 2015

CC @ypaq

@ypaq
Copy link
Contributor

ypaq commented Nov 26, 2015

Awesome, works for me. Thanks! 👍

ferd added a commit that referenced this pull request Nov 26, 2015
special handling of relx configs in profiles
@ferd ferd merged commit 901620f into erlang:master Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants