diff --git a/Package.resolved b/Package.resolved index 5f4594e..efecc9a 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,151 +1,104 @@ { - "object": { - "pins": [ - { - "package": "Commandant", - "repositoryURL": "https://github.com/Carthage/Commandant.git", - "state": { - "branch": null, - "revision": "ab68611013dec67413628ac87c1f29e8427bc8e4", - "version": "0.17.0" - } - }, - { - "package": "Curry", - "repositoryURL": "https://github.com/thoughtbot/Curry.git", - "state": { - "branch": null, - "revision": "4331dd50bc1db007db664a23f32e6f3df93d4e1a", - "version": "4.0.2" - } - }, - { - "package": "CwlCatchException", - "repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git", - "state": { - "branch": null, - "revision": "7cd2f8cacc4d22f21bc0b2309c3b18acf7957b66", - "version": "1.2.0" - } - }, - { - "package": "CwlPreconditionTesting", - "repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git", - "state": { - "branch": null, - "revision": "c228db5d2ad1b01ebc84435e823e6cca4e3db98b", - "version": "1.2.0" - } - }, - { - "package": "MarkdownGenerator", - "repositoryURL": "https://github.com/eneko/MarkdownGenerator.git", - "state": { - "branch": null, - "revision": "1fc31be6b66245187c3f87f35d86b6aeac6dfe7f", - "version": "0.5.0" - } - }, - { - "package": "Nimble", - "repositoryURL": "https://github.com/Quick/Nimble.git", - "state": { - "branch": null, - "revision": "6abeb3f5c03beba2b9e4dbe20886e773b5b629b6", - "version": "8.0.4" - } - }, - { - "package": "Quick", - "repositoryURL": "https://github.com/Quick/Quick.git", - "state": { - "branch": null, - "revision": "33682c2f6230c60614861dfc61df267e11a1602f", - "version": "2.2.0" - } - }, - { - "package": "Rainbow", - "repositoryURL": "https://github.com/onevcat/Rainbow", - "state": { - "branch": null, - "revision": "9c52c1952e9b2305d4507cf473392ac2d7c9b155", - "version": "3.1.5" - } - }, - { - "package": "SourceDocs", - "repositoryURL": "https://github.com/eneko/SourceDocs.git", - "state": { - "branch": null, - "revision": "dfa6fdae84c555264ad9795dcb7d629339191c01", - "version": "0.6.1" - } - }, - { - "package": "SourceKitten", - "repositoryURL": "https://github.com/jpsim/SourceKitten.git", - "state": { - "branch": null, - "revision": "356551fc513eb12ed779bb369f79cf86a3a01599", - "version": "0.27.0" - } - }, - { - "package": "llbuild", - "repositoryURL": "https://github.com/apple/swift-llbuild.git", - "state": { - "branch": null, - "revision": "f1c9ad9a253cdf1aa89a7f5c99c30b4513b06ddb", - "version": "0.1.1" - } - }, - { - "package": "SwiftPM", - "repositoryURL": "https://github.com/apple/swift-package-manager.git", - "state": { - "branch": null, - "revision": "8656a25cb906c1896339f950ac960ee1b4fe8034", - "version": "0.4.0" - } - }, - { - "package": "SwiftFormat", - "repositoryURL": "https://github.com/nicklockwood/SwiftFormat", - "state": { - "branch": null, - "revision": "768be83fb2c232f13ad75dc15056c5909e374ef6", - "version": "0.40.14" - } - }, - { - "package": "SWXMLHash", - "repositoryURL": "https://github.com/drmohundro/SWXMLHash.git", - "state": { - "branch": null, - "revision": "a4931e5c3bafbedeb1601d3bb76bbe835c6d475a", - "version": "5.0.1" - } - }, - { - "package": "System", - "repositoryURL": "https://github.com/eneko/System.git", - "state": { - "branch": null, - "revision": "381352d9479fb9c75d99a5ae5503f7d560c62449", - "version": "0.2.0" - } - }, - { - "package": "Yams", - "repositoryURL": "https://github.com/jpsim/Yams.git", - "state": { - "branch": null, - "revision": "c947a306d2e80ecb2c0859047b35c73b8e1ca27f", - "version": "2.0.0" - } + "pins" : [ + { + "identity" : "commandant", + "kind" : "remoteSourceControl", + "location" : "https://github.com/Carthage/Commandant.git", + "state" : { + "revision" : "a1671cf728db837cf5ec1980a80d276bbba748f6", + "version" : "0.18.0" } - ] - }, - "version": 1 + }, + { + "identity" : "curry", + "kind" : "remoteSourceControl", + "location" : "https://github.com/thoughtbot/Curry.git", + "state" : { + "revision" : "56f657c8a68dde445cc46630ccc84989213d93e8", + "version" : "5.0.0" + } + }, + { + "identity" : "markdowngenerator", + "kind" : "remoteSourceControl", + "location" : "https://github.com/eneko/MarkdownGenerator.git", + "state" : { + "revision" : "1fc31be6b66245187c3f87f35d86b6aeac6dfe7f", + "version" : "0.5.0" + } + }, + { + "identity" : "processrunner", + "kind" : "remoteSourceControl", + "location" : "https://github.com/eneko/ProcessRunner.git", + "state" : { + "revision" : "bedc55797b206bff50f652ffad8269223320fee5", + "version" : "1.1.0" + } + }, + { + "identity" : "rainbow", + "kind" : "remoteSourceControl", + "location" : "https://github.com/onevcat/Rainbow", + "state" : { + "revision" : "626c3d4b6b55354b4af3aa309f998fae9b31a3d9", + "version" : "3.2.0" + } + }, + { + "identity" : "sourcedocs", + "kind" : "remoteSourceControl", + "location" : "https://github.com/eneko/SourceDocs.git", + "state" : { + "revision" : "fb0e489e3a26c789aad3adbe43e2169f50f485e8", + "version" : "2.0.1" + } + }, + { + "identity" : "sourcekitten", + "kind" : "remoteSourceControl", + "location" : "https://github.com/jpsim/SourceKitten.git", + "state" : { + "revision" : "817dfa6f2e09b0476f3a6c9dbc035991f02f0241", + "version" : "0.32.0" + } + }, + { + "identity" : "swift-argument-parser", + "kind" : "remoteSourceControl", + "location" : "https://github.com/apple/swift-argument-parser.git", + "state" : { + "revision" : "fddd1c00396eed152c45a46bea9f47b98e59301d", + "version" : "1.2.0" + } + }, + { + "identity" : "swiftformat", + "kind" : "remoteSourceControl", + "location" : "https://github.com/nicklockwood/SwiftFormat", + "state" : { + "revision" : "3a5a4b9baa2ad2f6bb528351807eefbf3b9c0786", + "version" : "0.50.3" + } + }, + { + "identity" : "swxmlhash", + "kind" : "remoteSourceControl", + "location" : "https://github.com/drmohundro/SWXMLHash.git", + "state" : { + "revision" : "6469881a3f30417c5bb02404ea4b69207f297592", + "version" : "6.0.0" + } + }, + { + "identity" : "yams", + "kind" : "remoteSourceControl", + "location" : "https://github.com/jpsim/Yams.git", + "state" : { + "revision" : "9ff1cc9327586db4e0c8f46f064b6a82ec1566fa", + "version" : "4.0.6" + } + } + ], + "version" : 2 } diff --git a/Package.swift b/Package.swift index 5eab809..6bcece6 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.7.1 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -6,27 +6,43 @@ import PackageDescription let package = Package( name: "ModuleInterface", products: [ - .executable(name: "moduleinterface", targets: ["ModuleInterface"]), + .executable( + name: "moduleinterface", + targets: [ + "ModuleInterface", + ] + ), ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/jpsim/SourceKitten.git", from: "0.26.0"), - .package(url: "https://github.com/Carthage/Commandant.git", from: "0.15.0"), - .package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0"), - .package(url: "https://github.com/eneko/SourceDocs.git", from: "0.2.0"), - .package(url: "https://github.com/thoughtbot/Curry.git", from: "4.0.1"), - .package(url: "https://github.com/nicklockwood/SwiftFormat", from: "0.35.8"), + .package(url: "https://github.com/jpsim/SourceKitten.git", exact: "0.32.0"), + .package(url: "https://github.com/Carthage/Commandant.git", exact: "0.18.0"), + .package(url: "https://github.com/onevcat/Rainbow", exact: "3.2.0"), + .package(url: "https://github.com/eneko/SourceDocs.git", exact: "2.0.1"), + .package(url: "https://github.com/thoughtbot/Curry.git", exact: "5.0.0"), + .package(url: "https://github.com/nicklockwood/SwiftFormat", exact: "0.50.3"), ], 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 which this package depends on. - .target( + .executableTarget( name: "ModuleInterface", - dependencies: ["SourceKittenFramework", "Commandant", "Rainbow", "Curry", "SwiftFormat"] + dependencies: [ + .product( + name: "SourceKittenFramework", + package: "SourceKitten" + ), + "Commandant", + "Rainbow", + "Curry", + "SwiftFormat", + ] ), .testTarget( name: "ModuleInterfaceTests", - dependencies: ["ModuleInterface"] + dependencies: [ + "ModuleInterface", + ] ), ] )