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

Add implicit option to framework Dependency #166

Merged
merged 4 commits into from
Nov 21, 2017

Conversation

sbarow
Copy link
Contributor

@sbarow sbarow commented Nov 21, 2017

Updated version of #165 - I didn't have coffee before trying to rebase this morning 😞

Fixes: #163

@sbarow sbarow changed the title Add implicit type to Dependency Add implicit option to framework Dependency Nov 21, 2017
Copy link
Owner

@yonaskolb yonaskolb left a 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

@@ -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?
Copy link
Owner

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


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.
Copy link
Owner

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

@sbarow
Copy link
Contributor Author

sbarow commented Nov 21, 2017

Great, updated. Let me know if the docs section makes sense.

@yonaskolb yonaskolb merged commit 05cdd8b into yonaskolb:master Nov 21, 2017
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