-
Notifications
You must be signed in to change notification settings - Fork 820
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
Add implicit option to framework Dependency #166
Conversation
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.
Looks good! Just some minor comments
Sources/ProjectSpec/Dependency.swift
Outdated
@@ -17,12 +17,14 @@ public struct Dependency: Equatable { | |||
public var codeSign: Bool = true | |||
public var removeHeaders: Bool = true | |||
public var link: Bool = true | |||
public var implicit: Bool? |
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.
As a nil value has no real meaning here we can make it default to false. Something like embed
is an optional as the default changes depending on other factors
Docs/ProjectSpec.md
Outdated
|
||
This only applies to `framework` dependencies. | ||
|
||
- ⚪️ **implicit**: `Bool` - Whether the framework is an implicit dependency. This can be useful in a Workspace where projects are not nested within each other. |
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.
We can mention that the default is false, and also how this works - that the framework will look in the build products directory
Great, updated. Let me know if the docs section makes sense. |
Updated version of #165 - I didn't have coffee before trying to rebase this morning 😞
Fixes: #163