Skip to content

Commit

Permalink
feat: add library evolution to Package
Browse files Browse the repository at this point in the history
  • Loading branch information
parfeon committed Aug 9, 2023
1 parent 0e2e22b commit 988c2da
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,34 @@ let package = Package(
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "PubNub",
path: "Sources/PubNub"
path: "Sources/PubNub",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
]
),
.target(
name: "PubNubUser",
dependencies: ["PubNub"],
path: "PubNubUser/Sources"
path: "PubNubUser/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
]
),
.target(
name: "PubNubSpace",
dependencies: ["PubNub"],
path: "PubNubSpace/Sources"
path: "PubNubSpace/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
]
),
.target(
name: "PubNubMembership",
dependencies: ["PubNub", "PubNubUser", "PubNubSpace"],
path: "PubNubMembership/Sources"
path: "PubNubMembership/Sources",
cSettings: [
.define("BUILD_LIBRARY_FOR_DISTRIBUTION", to: "YES")
]
),
.testTarget(
name: "PubNubTests",
Expand Down

0 comments on commit 988c2da

Please sign in to comment.