From fe11f756ac343fe6b6ab6e724ac43be9c4fd8cae Mon Sep 17 00:00:00 2001 From: Matthew Lui Date: Tue, 18 Aug 2020 14:58:05 +0800 Subject: [PATCH 1/3] update package.swift to support 5.2 --- Package.resolved | 16 ---------------- Package.swift | 6 +++--- 2 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index 3236c9e..0000000 --- a/Package.resolved +++ /dev/null @@ -1,16 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Result", - "repositoryURL": "https://github.com/antitypical/Result.git", - "state": { - "branch": null, - "revision": "7477584259bfce2560a19e06ad9f71db441fff11", - "version": "3.2.4" - } - } - ] - }, - "version": 1 -} diff --git a/Package.swift b/Package.swift index a1bec29..e5ca44d 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:4.0 +// swift-tools-version:5.2 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -9,11 +9,11 @@ let package = Package( .library(name: "JSONRPCKit", targets: ["JSONRPCKit"]), ], dependencies: [ - .package(url: "https://github.com/antitypical/Result.git", from: "3.2.0"), + .package(url: "https://github.com/antitypical/Result.git", from: "5.0.0"), ], targets: [ .target(name: "JSONRPCKit", dependencies: ["Result"]), .testTarget(name: "JSONRPCKitTests", dependencies: ["JSONRPCKit"]), ], - swiftLanguageVersions: [4] + swiftLanguageVersions: [.v4] ) From 20810be04597934b3a7e60c2d8c53c8c7618d398 Mon Sep 17 00:00:00 2001 From: Matthew Lui Date: Tue, 18 Aug 2020 14:59:49 +0800 Subject: [PATCH 2/3] removed Package.resolved --- Package.resolved | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved new file mode 100644 index 0000000..f0311d4 --- /dev/null +++ b/Package.resolved @@ -0,0 +1,16 @@ +{ + "object": { + "pins": [ + { + "package": "Result", + "repositoryURL": "https://github.com/antitypical/Result.git", + "state": { + "branch": null, + "revision": "12920a5c2595926efab9274d6003e29f503dbb66", + "version": "5.0.0" + } + } + ] + }, + "version": 1 +} From 8a238ac4ef254037acbe6f4e2d46a834d9367828 Mon Sep 17 00:00:00 2001 From: Matthew Lui Date: Tue, 18 Aug 2020 16:19:37 +0800 Subject: [PATCH 3/3] deleted Package.resolved --- Package.resolved | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 Package.resolved diff --git a/Package.resolved b/Package.resolved deleted file mode 100644 index f0311d4..0000000 --- a/Package.resolved +++ /dev/null @@ -1,16 +0,0 @@ -{ - "object": { - "pins": [ - { - "package": "Result", - "repositoryURL": "https://github.com/antitypical/Result.git", - "state": { - "branch": null, - "revision": "12920a5c2595926efab9274d6003e29f503dbb66", - "version": "5.0.0" - } - } - ] - }, - "version": 1 -}