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

Allow rebuilding without changing the package #8

Open
antoniusnaumann opened this issue Feb 1, 2023 · 0 comments
Open

Allow rebuilding without changing the package #8

antoniusnaumann opened this issue Feb 1, 2023 · 0 comments
Labels
enhancement New feature or request package Related to the 'package' subcommand

Comments

@antoniusnaumann
Copy link
Owner

Rebuilding the Swift package every time is not practical for use cases where custom Swift code or tests on Swift side should be added.

There are multiple solutions to this:

  1. Keep cargo swift in control of the whole package for every build and let the user include the generated package in a separate package that handles Swift tests and code.
  2. Use Swift Package only to generate the package. Introduce a cargo swift build command that only rebuilds the binaries and bridges.
  3. Let the package command decide itself if a new package should be initialized or an existing one should be updated.
@antoniusnaumann antoniusnaumann added enhancement New feature or request package Related to the 'package' subcommand labels Feb 1, 2023
@antoniusnaumann antoniusnaumann added this to the v0.4.0 milestone Mar 12, 2023
@antoniusnaumann antoniusnaumann modified the milestones: v0.4.0, v0.5.0 Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package Related to the 'package' subcommand
Projects
None yet
Development

No branches or pull requests

1 participant