mirror of
https://github.com/xtool-org/xtool.git
synced 2026-02-04 11:53:30 +01:00
Use plugin
This commit is contained in:
2
.github/workflows/swiftlint.yml
vendored
2
.github/workflows/swiftlint.yml
vendored
@@ -16,6 +16,6 @@ jobs:
|
||||
! ${WORKING_DIRECTORY+false} && cd - > /dev/null
|
||||
sed -E "s/$(pwd|sed 's/\//\\\//g')\///"
|
||||
}
|
||||
swiftlint | \
|
||||
swift package plugin --allow-writing-to-package-directory swiftlint | \
|
||||
stripPWD | \
|
||||
sed -E 's/^(.*):([0-9]+):([0-9]+): (warning|error|[^:]+): (.*)/::\4 file=\1,line=\2,col=\3::\5/'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"originHash" : "d08ba8535e09303ac5be5621b8aea1a2409ebcb2ab566d661a63ec8ab5825189",
|
||||
"originHash" : "5cb26d4cfe9e9240988f3a6c406b8a8b8ab226607c2c80a29f72214e0a48fdb6",
|
||||
"pins" : [
|
||||
{
|
||||
"identity" : "aexml",
|
||||
@@ -334,6 +334,15 @@
|
||||
"version" : "6.0.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"identity" : "swiftlintplugins",
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/SimplyDanny/SwiftLintPlugins",
|
||||
"state" : {
|
||||
"revision" : "8545ddf4de043e6f2051c5cf204f39ef778ebf6b",
|
||||
"version" : "0.59.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"identity" : "swiftymobiledevice",
|
||||
"kind" : "remoteSourceControl",
|
||||
|
||||
@@ -62,6 +62,8 @@ let package = Package(
|
||||
.package(url: "https://github.com/pointfreeco/swift-concurrency-extras", from: "1.3.0"),
|
||||
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.6.2"),
|
||||
|
||||
.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", exact: "0.59.1"),
|
||||
|
||||
.package(url: "https://github.com/attaswift/BigInt", from: "5.5.0"),
|
||||
.package(url: "https://github.com/mxcl/Version", from: "2.1.0"),
|
||||
.package(url: "https://github.com/jpsim/Yams", from: "5.1.3"),
|
||||
|
||||
Reference in New Issue
Block a user