-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Swift tools version and add dependencies
Updates the Swift tools version to 5.3 and adds new dependencies for DVR and OHHTTPStubs inside SPM.
- Loading branch information
1 parent
ef80980
commit 0aeeecc
Showing
2 changed files
with
39 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,33 @@ | ||
// swift-tools-version:4.0 | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
|
||
public let package = Package( | ||
name: "Contentful", | ||
products: [ | ||
.library( | ||
name: "Contentful", | ||
targets: ["Contentful"]) | ||
targets: ["Contentful"] | ||
) | ||
], | ||
dependencies: [ | ||
.package( | ||
url: "https://github.com/mariuskatcontentful/DVR.git", | ||
.branch("master") | ||
), | ||
.package( | ||
url: "https://github.com/mariuskatcontentful/OHHTTPStubs.git", | ||
.branch("master") | ||
) | ||
], | ||
targets: [ | ||
.target( | ||
name: "Contentful") | ||
name: "Contentful"), | ||
.testTarget(name: "ContentfulTests", | ||
dependencies: [ | ||
"Contentful", | ||
.product(name: "DVR", package: "DVR"), | ||
.product(name: "OHHTTPStubs", package: "OHHTTPStubs") | ||
], | ||
path: "Tests") | ||
] | ||
) |