-
Notifications
You must be signed in to change notification settings - Fork 6
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
APIs modularization #98
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4ee3e09
to
1a6dba5
Compare
570c2bb
to
6712caa
Compare
b32ce18
to
e2ec257
Compare
update modulemap minor changes minor changes modulemap support and upgrade SPM to support it
…mport dependencies
minor changes
minor changes minor changes
minor changes
minor changes minor changes
minor changes update public api in nef
minor changes in carthage compiler
db3d1b3
to
52bac77
Compare
truizlop
requested changes
Nov 18, 2019
ebc4226
to
326f31a
Compare
truizlop
requested changes
Nov 19, 2019
113841b
to
f03762d
Compare
comments in PR comments in PR
f03762d
to
97d62da
Compare
truizlop
approved these changes
Nov 19, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
In this PR, we have reviewed the nef-modularization to simplify how users should integrate nef in their projects.
import nef
to use nef in their projects.Package
files, one of them in/
to build thenef
library; and the second one in/project
to build the binaries.FP
(added dependency to Bow) - functional apis to Carbon, Jekyll, MarkdownAPIs
You can find more information in the file
@_exported
modulemap
is only available for C libs, so we can not create a custom layout of how symbols visibility will be through our umbrella-library. Apple has an undocumented kind of import@_exported
that let us expose symbols of nested libraries. You can read more about it in the following threadOn this way, when the user
import net
automatically is importingNefModels
(we expose the symbols of NefModels from nef library, using @_exported)Example of use
I have migrated
nef-plugin
to this API version, using the new APIs, you can review it here