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

CON-5401 Remove explicit target types for libraries #30

4 changes: 0 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,18 @@ let package = Package(
products: [
.library(
name: "Subprocess",
type: .static,
targets: [ "Subprocess" ]
),
.library(
name: "SubprocessMocks",
type: .static,
targets: [ "SubprocessMocks" ]
),
.library(
name: "libSubprocess",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no need for this whole .library product if the type is removed. It's identical to the Subprocess product. Same goes for libSubprocessMocks; it does not need to exist if the type is removed.

Obviously removing entire products will be a breaking change and would require a major version update.

Perhaps removing the type first with this PR, and tag this as a 3.x release. Then a separate PR removing the duplicated products which can be tagged as a 4.0 release would be the right path forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, so no other actionable items other than perhaps writing down that the duplicated products type needs to be removed? I could add it as a comment under the issue #29?

type: .dynamic,
targets: [ "Subprocess" ]
),
.library(
name: "libSubprocessMocks",
type: .dynamic,
targets: [ "SubprocessMocks" ]
)
],
Expand Down
Loading