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

Correct precedence of compile options merged from profiles. #1398

Merged
merged 2 commits into from
Dec 5, 2016

Conversation

tburghart
Copy link
Contributor

Addresses #1397

Ensures merged compiler options end up in the correct order to maintain profile precedence.

Moves the merge functionality from rebar_opts:merge_opts/2 to a standalone function to ease extension and debugging.

@ferd
Copy link
Collaborator

ferd commented Dec 1, 2016

That is a clean contribution, nice. In #1397 you had a sample test case. Do you think it would be possible for you to add it to test/rebar_profiles_SUITE.erl so that we don't accidentally have regressions?

Thanks for you work on this, much appreciated.

@tburghart
Copy link
Contributor Author

@ferd Good point, I'll take a look at that.

Ensures merged compiler options end up in the correct order to maintain profile precedence.

Moves the merge functionality from rebar_opts:merge_opts/2 to a standalone function to ease extension and debugging.
@tburghart
Copy link
Contributor Author

@ferd Tests added.

@ferd
Copy link
Collaborator

ferd commented Dec 5, 2016

Thanks a lot!

@ferd ferd merged commit 41d4002 into erlang:master Dec 5, 2016
@tburghart tburghart deleted the rebar3_issue_1397 branch December 5, 2016 20:08
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.

2 participants