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

Generate targets and index products in dependent Swift packages. #52

Closed
2 tasks done
cgrindel opened this issue Dec 9, 2022 · 0 comments
Closed
2 tasks done
Assignees

Comments

@cgrindel
Copy link
Owner

cgrindel commented Dec 9, 2022

Tasks

Opted not to pursue

  • Update ModuleIndex.IndexPkgInfo() to index products. (Gazelle plugin)
    • 2022-12-20: All targets that provide a module are directly available. There is no benefit to adding products that are aliases to the index.
@cgrindel cgrindel added this to the Swift Gazelle Plugin 0.1.0 milestone Dec 9, 2022
@cgrindel cgrindel changed the title Support executable product with a regular target. Generate targets and index products in dependent Swift packages. Dec 16, 2022
@cgrindel cgrindel self-assigned this Dec 16, 2022
cgrindel added a commit that referenced this issue Dec 17, 2022
- Add support for `target` reference. This is different from `byName`.
- Renamed `pkginfos.new_target_reference` to
`pkginfos.new_by_name_reference`.
- Add SwiftFormat to the `pkg_manifest_minimal` example.
- Include `SWIFT_PACKAGE` directive when defining targets from
`swift_package`.

Related to #52.
Related to #46.
cgrindel added a commit that referenced this issue Dec 20, 2022
- Add `print-greeting` product to `my_local_package`.
- Update `do_test` in `pkg_manifest_minimal` to call `print-greeting`.

Related to #52.
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

No branches or pull requests

1 participant