Skip to content

Commit

Permalink
Update Package files for older Swift versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcairo committed Oct 31, 2022
1 parent 84116fe commit 51ca597
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
6 changes: 5 additions & 1 deletion Package@swift-5.0.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down
6 changes: 5 additions & 1 deletion Package@swift-5.1.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down
6 changes: 5 additions & 1 deletion Package@swift-5.2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down
6 changes: 5 additions & 1 deletion Package@swift-5.3.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down
6 changes: 5 additions & 1 deletion Package@swift-5.4.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down
6 changes: 5 additions & 1 deletion Package@swift-5.5.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ let package = Package(
.library(name: "SwiftProtobufPluginLibrary", targets: ["SwiftProtobufPluginLibrary"]),
],
targets: [
.target(name: "SwiftProtobuf"),
.target(name: "SwiftProtobufCore"),
.target(name: "SwiftProtobufFoundationCompat",
dependencies: ["SwiftProtobufCore"]),
.target(name: "SwiftProtobuf",
dependencies: ["SwiftProtobufCore", "SwiftProtobufFoundationCompat"]),
.target(name: "SwiftProtobufPluginLibrary",
dependencies: ["SwiftProtobuf"]),
.target(name: "SwiftProtobufTestHelpers",
Expand Down

0 comments on commit 51ca597

Please sign in to comment.