Compare commits
1 Commits
main
...
jp-static-
Author | SHA1 | Date |
---|---|---|
![]() |
c261a863fb |
|
@ -19,6 +19,15 @@
|
|||
"version": "1.0.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"package": "SwiftSyntax",
|
||||
"repositoryURL": "https://github.com/apple/swift-syntax.git",
|
||||
"state": {
|
||||
"branch": null,
|
||||
"revision": "cf40be70deaf4ce7d44eb1a7e14299c391e2363f",
|
||||
"version": null
|
||||
}
|
||||
},
|
||||
{
|
||||
"package": "SwiftyTextTable",
|
||||
"repositoryURL": "https://github.com/scottrhoyt/SwiftyTextTable.git",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// swift-tools-version:5.2
|
||||
// swift-tools-version:5.4
|
||||
import PackageDescription
|
||||
|
||||
#if canImport(CommonCrypto)
|
||||
|
@ -19,9 +19,11 @@ let package = Package(
|
|||
.package(url: "https://github.com/jpsim/SourceKitten.git", from: "0.31.1"),
|
||||
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.2"),
|
||||
.package(url: "https://github.com/scottrhoyt/SwiftyTextTable.git", from: "0.9.0"),
|
||||
.package(name: "SwiftSyntax", url: "https://github.com/apple/swift-syntax.git",
|
||||
.revision("cf40be70deaf4ce7d44eb1a7e14299c391e2363f")),
|
||||
] + (addCryptoSwift ? [.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMinor(from: "1.3.2"))] : []),
|
||||
targets: [
|
||||
.target(
|
||||
.executableTarget(
|
||||
name: "swiftlint",
|
||||
dependencies: [
|
||||
.product(name: "ArgumentParser", package: "swift-argument-parser"),
|
||||
|
@ -33,6 +35,8 @@ let package = Package(
|
|||
name: "SwiftLintFramework",
|
||||
dependencies: [
|
||||
.product(name: "SourceKittenFramework", package: "SourceKitten"),
|
||||
"lib_InternalSwiftSyntaxParser",
|
||||
"SwiftSyntax",
|
||||
"Yams",
|
||||
] + (addCryptoSwift ? ["CryptoSwift"] : [])
|
||||
),
|
||||
|
@ -44,6 +48,11 @@ let package = Package(
|
|||
exclude: [
|
||||
"Resources",
|
||||
]
|
||||
)
|
||||
),
|
||||
.binaryTarget(
|
||||
name: "lib_InternalSwiftSyntaxParser",
|
||||
url: "https://github.com/keith/StaticInternalSwiftSyntaxParser/releases/download/5.5.2/lib_InternalSwiftSyntaxParser.xcframework.zip",
|
||||
checksum: "96bbc9ab4679953eac9ee46778b498cb559b8a7d9ecc658e54d6679acfbb34b8"
|
||||
),
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue