diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2017-08-15 11:20:28 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2017-08-15 12:15:09 -0400 |
commit | bc2f06220003499ac998f519c9eb595a0e957e15 (patch) | |
tree | 46744378d60e1e40a842419840d9c924abe2b44e /src/rebar_prv_cover.erl | |
parent | 9c4e40d5b93c83f853be84685242d264b0892115 (diff) |
Fix ordering of overlays and overlay vars in Relx
Specifically, this impacts profiles. It appears that relx as a whole
requires its configuration to be merged in one tuple order (New takes
precedence over Old), whereas the overlays require the opposite (Old
takes precedence over New) since the operation order on disk is
important to work well.
This patch reorders overlay values such that the overlay of a profile
takes place *after* the basic overlay, ensuring that the profile actions
take place after the basic ones; this allows profiles to properly
overwrite files as expected (see #1609)
This is done while adequately maintaining the order of operations that
were required as part of #1563
Overlay vars of profiles are also checked to be working fine, along with
a test.
This fixes #1247 and #1609
Diffstat (limited to 'src/rebar_prv_cover.erl')
0 files changed, 0 insertions, 0 deletions