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

Partial config matching #111

Merged
merged 4 commits into from
Oct 26, 2017
Merged

Partial config matching #111

merged 4 commits into from
Oct 26, 2017

Conversation

yonaskolb
Copy link
Owner

@yonaskolb yonaskolb commented Oct 26, 2017

This makes 2 changes to how configs are referenced and applied in Settings (in project settings, target settings, setting groups)

  • partials are matched
  • matches are case insensitive

This means you can apply settings in a wider way.

For example you can do the following:

configs:
  Test Debug: debug
  Staging Debug: debug
  Production Debug: debug
  Test Release: release
  Staging Release: release
  Production Release: release
settings:
  configs:
    test: # applies to both Test Debug and Test Release configs
      BUILD_SETTING: test
    debug: # applies to all debug configs
      OTHER_BUILD_SETTING: debug setting

This also adds some missing validation in the spec validator

@yonaskolb yonaskolb merged commit e448685 into master Oct 26, 2017
@yonaskolb yonaskolb deleted the config_reference branch October 26, 2017 21:33
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.

1 participant