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
Build settings have the same values repeated multiple times #391
Conversation
Generated by 🚫 Danger |
Codecov Report
@@ Coverage Diff @@
## master #391 +/- ##
==========================================
+ Coverage 92.16% 92.16% +<.01%
==========================================
Files 291 291
Lines 14585 14605 +20
==========================================
+ Hits 13442 13461 +19
- Misses 1143 1144 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 thanks for submitting this - just a minor comment regarding the change log
CHANGELOG.md
Outdated
@@ -19,6 +19,7 @@ Please, check out guidelines: https://keepachangelog.com/en/1.0.0/ | |||
|
|||
### Fixed | |||
|
|||
- Fixing build settings repeated same value https://github.com/tuist/tuist/pull/391 @platonsi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, looks like the entry was added under the previous version, this can go to the Next Version
section. Pulling in the latest master should include Fixed
section from yesterday
ad6a469
to
e7eb36f
Compare
Thanks for fixing this @platonsi |
Resolves #390
Short description 📝
The
DefaultSettingsProvider
targetSettings
combines the build settings for the specified build variant with the build settings for variants. If there is a common build setting with$(inherited)
in its value, the value is appended twice.Solution 📦
In the
SettingsHelper
before combining build settings by appending the new value to the existing one check if the value are equalImplementation 👩💻👨💻
SettingsHelper
to check if setting values are equal before appendingTest Plan 🛠