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

fix: add modulemap_label to dependencies index #431

Merged
merged 12 commits into from
Jun 28, 2023

Conversation

cgrindel
Copy link
Owner

  • Move swift.FileInfo to swiftpkg.SwiftFileInfo.
  • Update swiftpkg.SwiftFileInfo to check for @objc directive.
  • Add ModulemapLabel to swift.Module. For Swift source modules, this field is populated if a modulemap target is required (e.g., has @objc directives).
  • Add modulemap_label to deps_indexes.new_module.
  • Update deps_indexes.labels_for_module to check for modulemap_label on the module instead of assuming that all Swift targets that are a dependency for an Objc target should have one.

Related to #425.

@cgrindel cgrindel self-assigned this Jun 28, 2023
@cgrindel cgrindel enabled auto-merge (squash) June 28, 2023 21:13
@cgrindel cgrindel merged commit c3560e9 into main Jun 28, 2023
@cgrindel cgrindel deleted the gh425_add_swift_src_info_to_index branch June 28, 2023 21:19
@cgrindel cgrindel changed the title fix: Gh425 add swift src info to index fix: add modulemap_label to dependencies index Jun 28, 2023
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