From 140e69f8b70fb4563b56150f7dc15f4371c1a051 Mon Sep 17 00:00:00 2001 From: Antonio Candinho Date: Sun, 5 Feb 2023 08:11:58 +0100 Subject: [PATCH] Update SwiftPM support --- Package.resolved | 43 +++++++++++++++++++++++++++++++++++++++++++ Package.swift | 20 +++++++++++++++++++- 2 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..15c8d64 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,43 @@ +{ + "object": { + "pins": [ + { + "package": "CwlCatchException", + "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", + "state": { + "branch": null, + "revision": "35f9e770f54ce62dd8526470f14c6e137cef3eea", + "version": "2.1.1" + } + }, + { + "package": "CwlPreconditionTesting", + "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", + "state": { + "branch": null, + "revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688", + "version": "2.1.0" + } + }, + { + "package": "Nimble", + "repositoryURL": "https://github.com/Quick/Nimble", + "state": { + "branch": null, + "revision": "b7f6c49acdb247e3158198c5448b38c3cc595533", + "version": "11.2.1" + } + }, + { + "package": "Quick", + "repositoryURL": "https://github.com/Quick/Quick", + "state": { + "branch": null, + "revision": "16910e406be96e08923918315388c3e989deac9e", + "version": "6.1.0" + } + } + ] + }, + "version": 1 +} diff --git a/Package.swift b/Package.swift index 5e4616f..7731669 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,23 @@ +// swift-tools-version:5.5.0 + import PackageDescription let package = Package( - name: "Pitchy" + name: "Pitchy", + products: [ + .library(name: "Pitchy", targets: ["Pitchy"]) + ], + dependencies: [ + .package(url: "https://github.com/Quick/Quick", from: "6.1.0"), + .package(url: "https://github.com/Quick/Nimble", from: "11.2.1"), + ], + targets: [ + .target(name: "Pitchy", dependencies: [], path: "Source"), + .testTarget( + name: "PitchyTests", + dependencies: ["Pitchy", "Quick", "Nimble"], + path: "PitchyTests", + exclude: [ "Mac/Info.plist", "iOS/Info.plist" ] + ), + ] )