Skip to content

Commit

Permalink
feat: update Swift tools version and add dependencies
Browse files Browse the repository at this point in the history
Updates the Swift tools version to 5.3 and adds new dependencies 
for DVR and OHHTTPStubs inside SPM.
  • Loading branch information
Guillermo Moraleda authored and jjolton-contentful committed Nov 19, 2024
1 parent ef80980 commit 0aeeecc
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 4 deletions.
19 changes: 18 additions & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
{
"object": {
"pins": [

{
"package": "DVR",
"repositoryURL": "https://github.com/mariuskatcontentful/DVR.git",
"state": {
"branch": "master",
"revision": "fb4f8678b1479320b9926d37732494d8cce85432",
"version": null
}
},
{
"package": "OHHTTPStubs",
"repositoryURL": "https://github.com/mariuskatcontentful/OHHTTPStubs.git",
"state": {
"branch": "master",
"revision": "1c5f7b4348cccdd1128fe5fb89f0e1f3191adc68",
"version": null
}
}
]
},
"version": 1
Expand Down
24 changes: 21 additions & 3 deletions Package.swift
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")
]
)

0 comments on commit 0aeeecc

Please sign in to comment.