Skip to content

Commit

Permalink
Make Swift Package Manager Ready and remove as a Cocoapod.
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulH committed Apr 23, 2021
1 parent ce01290 commit 43efca8
Show file tree
Hide file tree
Showing 51 changed files with 131 additions and 1,594 deletions.
22 changes: 0 additions & 22 deletions LICENSE

This file was deleted.

43 changes: 43 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"object": {
"pins": [
{
"package": "CwlCatchException",
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
"state": {
"branch": null,
"revision": "f809deb30dc5c9d9b78c872e553261a61177721a",
"version": "2.0.0"
}
},
{
"package": "CwlPreconditionTesting",
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "02b7a39a99c4da27abe03cab2053a9034379639f",
"version": "2.0.0"
}
},
{
"package": "Nimble",
"repositoryURL": "https://github.com/Quick/Nimble.git",
"state": {
"branch": null,
"revision": "e491a6731307bb23783bf664d003be9b2fa59ab5",
"version": "9.0.0"
}
},
{
"package": "Quick",
"repositoryURL": "https://github.com/Quick/Quick.git",
"state": {
"branch": null,
"revision": "8cce6acd38f965f5baa3167b939f86500314022b",
"version": "3.1.2"
}
}
]
},
"version": 1
}
33 changes: 33 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "Spry",
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "Spry",
targets: ["Spry"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/Quick/Quick.git",
.exact("3.1.2")),
.package(url: "https://github.com/Quick/Nimble.git",
.exact("9.0.0"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "Spry",
dependencies: ["Quick",
"Nimble"]),
.testTarget(
name: "SpryTests",
dependencies: ["Spry"]),
]
)
15 changes: 0 additions & 15 deletions Podfile

This file was deleted.

32 changes: 0 additions & 32 deletions Podfile.lock

This file was deleted.

Loading

0 comments on commit 43efca8

Please sign in to comment.