From 88ef42313176af3a0e70aa274d013cd0e7e8dd52 Mon Sep 17 00:00:00 2001 From: tobias <thinkdifferent055@gmail.com> Date: Thu, 22 Sep 2022 11:39:06 +0200 Subject: [PATCH] Switch to swift tools 5.7 --- Package.resolved | 96 ++++++++++++++++++++++++------------------------ Package.swift | 14 +++---- 2 files changed, 54 insertions(+), 56 deletions(-) diff --git a/Package.resolved b/Package.resolved index 40bb918..1b07e67 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,52 +1,50 @@ { - "object": { - "pins": [ - { - "package": "PathKit", - "repositoryURL": "https://github.com/kylef/PathKit.git", - "state": { - "branch": null, - "revision": "3bfd2737b700b9a36565a8c94f4ad2b050a5e574", - "version": "1.0.1" - } - }, - { - "package": "Spectre", - "repositoryURL": "https://github.com/kylef/Spectre.git", - "state": { - "branch": null, - "revision": "26cc5e9ae0947092c7139ef7ba612e34646086c7", - "version": "0.10.1" - } - }, - { - "package": "Stencil", - "repositoryURL": "https://github.com/kylef/Stencil.git", - "state": { - "branch": null, - "revision": "973e190edf5d09274e4a6bc2e636c86899ed84c3", - "version": "0.14.1" - } - }, - { - "package": "swift-argument-parser", - "repositoryURL": "https://github.com/apple/swift-argument-parser.git", - "state": { - "branch": null, - "revision": "d2930e8fcf9c33162b9fcc1d522bc975e2d4179b", - "version": "1.0.1" - } - }, - { - "package": "SwiftSyntax", - "repositoryURL": "https://github.com/apple/swift-syntax.git", - "state": { - "branch": null, - "revision": "04d4497be6b88e524a71778d828790e9589ae1c4", - "version": "0.50700.0" - } + "pins" : [ + { + "identity" : "pathkit", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kylef/PathKit.git", + "state" : { + "revision" : "3bfd2737b700b9a36565a8c94f4ad2b050a5e574", + "version" : "1.0.1" } - ] - }, - "version": 1 + }, + { + "identity" : "spectre", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kylef/Spectre.git", + "state" : { + "revision" : "26cc5e9ae0947092c7139ef7ba612e34646086c7", + "version" : "0.10.1" + } + }, + { + "identity" : "stencil", + "kind" : "remoteSourceControl", + "location" : "https://github.com/kylef/Stencil.git", + "state" : { + "revision" : "4f222ac85d673f35df29962fc4c36ccfdaf9da5b", + "version" : "0.15.1" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser.git", + "state" : { + "revision" : "9f39744e025c7d377987f30b03770805dcb0bcd1", + "version" : "1.1.4" + } + }, + { + "identity" : "swift-syntax", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-syntax.git", + "state" : { + "revision" : "04d4497be6b88e524a71778d828790e9589ae1c4", + "version" : "0.50700.0" + } + } + ], + "version" : 2 } diff --git a/Package.swift b/Package.swift index 04c447e..ee39e23 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.2 +// swift-tools-version:5.7 import PackageDescription let package = Package( @@ -8,10 +8,10 @@ let package = Package( .executable(name: "swiftmetamodelgenerator", targets: ["swiftmetamodelgenerator"]) ], dependencies: [ - .package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "1.0.1")), - .package(url: "https://github.com/kylef/PathKit.git", .upToNextMinor(from: "1.0.1")), - .package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git", .upToNextMinor(from: "0.50700.0")), - .package(url: "https://github.com/kylef/Stencil.git", .upToNextMinor(from: "0.14.1")), + .package(url: "https://github.com/apple/swift-argument-parser.git", exact: "1.1.4"), + .package(url: "https://github.com/kylef/PathKit.git", exact: "1.0.1"), + .package(url: "https://github.com/apple/swift-syntax.git", exact: "0.50700.0"), + .package(url: "https://github.com/kylef/Stencil.git", exact: "0.15.1"), ], targets: [ .target( @@ -19,8 +19,8 @@ let package = Package( dependencies: [ .product(name: "ArgumentParser", package: "swift-argument-parser"), "PathKit", - .product(name: "SwiftSyntax", package: "SwiftSyntax"), - .product(name: "SwiftSyntaxParser", package: "SwiftSyntax"), + .product(name: "SwiftSyntax", package: "swift-syntax"), + .product(name: "SwiftSyntaxParser", package: "swift-syntax"), "Stencil" ], path: "SwiftMetaModelGenerator" -- GitLab