From 9e6147c860e45facc3425b2a02e21c321f97a1d9 Mon Sep 17 00:00:00 2001 From: Joseph Mattello Date: Wed, 9 Nov 2022 19:55:07 -0500 Subject: [PATCH] Add Package.swift for Danger Signed-off-by: Joseph Mattello --- Package.resolved | 176 +++++++++++++---------------------------------- Package.swift | 37 ++++++++++ 2 files changed, 86 insertions(+), 127 deletions(-) diff --git a/Package.resolved b/Package.resolved index 8b94e3d5..450460f3 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,130 +1,52 @@ { - "pins" : [ - { - "identity" : "collectionconcurrencykit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git", - "state" : { - "revision" : "b4f23e24b5a1bff301efc5e70871083ca029ff95", - "version" : "0.2.0" + "object": { + "pins": [ + { + "package": "Logger", + "repositoryURL": "https://github.com/shibapm/Logger", + "state": { + "branch": null, + "revision": "53c3ecca5abe8cf46697e33901ee774236d94cce", + "version": "0.2.3" + } + }, + { + "package": "OctoKit", + "repositoryURL": "https://github.com/nerdishbynature/octokit.swift", + "state": { + "branch": null, + "revision": "f762f1566f7cd0e683b9329f169c28ab6ef993cc", + "version": "0.12.0" + } + }, + { + "package": "RequestKit", + "repositoryURL": "https://github.com/nerdishbynature/RequestKit.git", + "state": { + "branch": null, + "revision": "8b0258ea2a4345cbcac90509b764faacea12efb0", + "version": "3.2.1" + } + }, + { + "package": "danger-swift", + "repositoryURL": "https://github.com/danger/swift.git", + "state": { + "branch": null, + "revision": "579323889f26e6fb1ddb2cc5d98b1ab698bd2578", + "version": "3.14.2" + } + }, + { + "package": "Version", + "repositoryURL": "https://github.com/mxcl/Version", + "state": { + "branch": null, + "revision": "1fe824b80d89201652e7eca7c9252269a1d85e25", + "version": "2.0.1" + } } - }, - { - "identity" : "logger", - "kind" : "remoteSourceControl", - "location" : "https://github.com/shibapm/Logger", - "state" : { - "revision" : "53c3ecca5abe8cf46697e33901ee774236d94cce", - "version" : "0.2.3" - } - }, - { - "identity" : "octokit.swift", - "kind" : "remoteSourceControl", - "location" : "https://github.com/nerdishbynature/octokit.swift", - "state" : { - "revision" : "f762f1566f7cd0e683b9329f169c28ab6ef993cc", - "version" : "0.12.0" - } - }, - { - "identity" : "requestkit", - "kind" : "remoteSourceControl", - "location" : "https://github.com/nerdishbynature/RequestKit.git", - "state" : { - "revision" : "8b0258ea2a4345cbcac90509b764faacea12efb0", - "version" : "3.2.1" - } - }, - { - "identity" : "sourcekitten", - "kind" : "remoteSourceControl", - "location" : "https://github.com/jpsim/SourceKitten.git", - "state" : { - "revision" : "fc12c0f182c5cf80781dd933b17a82eb98bd7c61", - "version" : "0.33.1" - } - }, - { - "identity" : "swift-argument-parser", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-argument-parser.git", - "state" : { - "revision" : "fddd1c00396eed152c45a46bea9f47b98e59301d", - "version" : "1.2.0" - } - }, - { - "identity" : "swift-snapshot-testing", - "kind" : "remoteSourceControl", - "location" : "https://github.com/pointfreeco/swift-snapshot-testing.git", - "state" : { - "revision" : "f29e2014f6230cf7d5138fc899da51c7f513d467", - "version" : "1.10.0" - } - }, - { - "identity" : "swift-syntax", - "kind" : "remoteSourceControl", - "location" : "https://github.com/apple/swift-syntax.git", - "state" : { - "revision" : "a2d31e8880224f5a619f24bf58c122836faf99ff" - } - }, - { - "identity" : "swiftformat", - "kind" : "remoteSourceControl", - "location" : "https://github.com/nicklockwood/SwiftFormat", - "state" : { - "revision" : "34cd9dd87b78048ce0d623a9153f9bf260ad6590", - "version" : "0.50.7" - } - }, - { - "identity" : "swiftlint", - "kind" : "remoteSourceControl", - "location" : "https://github.com/Realm/SwiftLint", - "state" : { - "branch" : "main", - "revision" : "470d471e5100240d160b644ffba8ed6485c891e2" - } - }, - { - "identity" : "swiftytexttable", - "kind" : "remoteSourceControl", - "location" : "https://github.com/scottrhoyt/SwiftyTextTable.git", - "state" : { - "revision" : "c6df6cf533d120716bff38f8ff9885e1ce2a4ac3", - "version" : "0.9.0" - } - }, - { - "identity" : "swxmlhash", - "kind" : "remoteSourceControl", - "location" : "https://github.com/drmohundro/SWXMLHash.git", - "state" : { - "revision" : "4d0f62f561458cbe1f732171e625f03195151b60", - "version" : "7.0.1" - } - }, - { - "identity" : "version", - "kind" : "remoteSourceControl", - "location" : "https://github.com/mxcl/Version", - "state" : { - "revision" : "1fe824b80d89201652e7eca7c9252269a1d85e25", - "version" : "2.0.1" - } - }, - { - "identity" : "yams", - "kind" : "remoteSourceControl", - "location" : "https://github.com/jpsim/Yams.git", - "state" : { - "revision" : "01835dc202670b5bb90d07f3eae41867e9ed29f6", - "version" : "5.0.1" - } - } - ], - "version" : 2 + ] + }, + "version": 1 } diff --git a/Package.swift b/Package.swift index f7240df6..eedf2e68 100644 --- a/Package.swift +++ b/Package.swift @@ -100,3 +100,40 @@ let package = Package( // ] // ]).write() // #endif + +// let package = Package( +// name: "SideStore", +// platforms: [ +// .iOS(.v13), +// .tvOS(.v13), +// ], +// products: [ +// .library(name: "DangerDeps[SideStore]", type: .dynamic, targets: ["DangerDependencies"]) // dev +// ], +// dependencies: [ +// .package(url: "https://github.com/danger/swift.git", from: "3.0.0") // dev +// // Danger Plugins +// // .package(url: "https://github.com/username/DangerPlugin.git", from: "0.1.0") // dev +// ], +// targets: [ +// .target(name: "DangerDependencies", dependencies: ["Danger", "DangerPlugin"]) // dev +// // name: "SideStore", +// // // dependencies: [ +// // // .product(name: "RxSwift", package: "RxSwift") +// // // ], +// // path: "AltStore", +// // exclude: ["Info.plist", "*.m"], +// // cSettings: cSettings, +// // cxxSettings: cxxSettings), + +// // .target( +// // name: "PVLibrary-ObjC", +// // // dependencies: [ +// // // .product(name: "RxSwift", package: "RxSwift") +// // // ], +// // path: "PVLibrary", +// // exclude: ["Info.plist", "*.swift"], +// // cSettings: cSettings, +// // cxxSettings: cxxSettings), +// ] +// )