-
Notifications
You must be signed in to change notification settings - Fork 349
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
Whitelist Pods by build configuration #154
Conversation
An option to only link a specific pod to the target when building in a specific configuration. The exact syntax is still TBD, pending discussion in CocoaPods/CocoaPods#1668 which implements the corresponding functionality.
An option to only link a specific pod to the target when building in a specific configuration. The exact syntax is still TBD, pending discussion in CocoaPods/CocoaPods#1668 which implements the corresponding functionality.
…ave been whitelisted.
…ck-pods-by-config * 'pods-by-config' of github.com:lookback/Core: [pod] whitelisting: code style and specs [pod] Whitelist pods for configurations Conflicts: lib/cocoapods-core/podfile/target_definition.rb spec/podfile/target_definition_spec.rb
# for any configuration, it is implicitly whitelisted. | ||
# | ||
# @param [String] pod_name | ||
# The pod that we're querying about inclusion for in the given configuration. |
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.
Line is too long. [91/80]
end | ||
|
||
it 'enables pods for configurations they are whitelisted for' do | ||
@root.store_pod('ObjectiveSugar', :configuration => 'Release') |
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.
Use the new Ruby 1.9 hash syntax.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
||
it 'allows to white-list a dependency on a build configuration' do | ||
podfile = Podfile.new do | ||
pod 'PonyDebugger', :configuration => 'Release' |
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.
Use the new Ruby 1.9 hash syntax.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
No description provided.