Skip to content

Commit

Permalink
removed swiftlint plugin from Package.swift file, as it seems to not …
Browse files Browse the repository at this point in the history
…work with commandline tools?
  • Loading branch information
Alex da Franca committed Jun 16, 2024
1 parent cd49f23 commit 3929950
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 103 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Version 1.6.4 - 2024-06-16
### CHANGES:
removed swiftlint plugin from Package.swift file, as it seems to not work with commandline tools?

## Version 1.6.3 - 2024-06-16
### CHANGES:
Reverted swift package version back to 5.6
Expand Down
2 changes: 1 addition & 1 deletion CommandlineTool/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ArgumentParser
import Foundation
import XcresultparserLib

private let marketingVersion = "1.6.3"
private let marketingVersion = "1.6.4"

struct xcresultparser: ParsableCommand {
static let configuration = CommandConfiguration(
Expand Down
116 changes: 23 additions & 93 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,95 +1,25 @@
{
"pins" : [
{
"identity" : "collectionconcurrencykit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/JohnSundell/CollectionConcurrencyKit.git",
"state" : {
"revision" : "b4f23e24b5a1bff301efc5e70871083ca029ff95",
"version" : "0.2.0"
}
},
{
"identity" : "cryptoswift",
"kind" : "remoteSourceControl",
"location" : "https://github.com/krzyzanowskim/CryptoSwift.git",
"state" : {
"revision" : "c9c3df6ab812de32bae61fc0cd1bf6d45170ebf0",
"version" : "1.8.2"
}
},
{
"identity" : "sourcekitten",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/SourceKitten.git",
"state" : {
"revision" : "fd4df99170f5e9d7cf9aa8312aa8506e0e7a44e7",
"version" : "0.35.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version" : "1.2.2"
}
},
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax.git",
"state" : {
"revision" : "303e5c5c36d6a558407d364878df131c3546fad8",
"version" : "510.0.2"
}
},
{
"identity" : "swiftlint",
"kind" : "remoteSourceControl",
"location" : "https://github.com/realm/SwiftLint.git",
"state" : {
"revision" : "b515723b16eba33f15c4677ee65f3fef2ce8c255",
"version" : "0.55.1"
}
},
{
"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" : "a853604c9e9a83ad9954c7e3d2a565273982471f",
"version" : "7.0.2"
}
},
{
"identity" : "xcresultkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/davidahouse/XCResultKit.git",
"state" : {
"revision" : "612053960665fd1f16309c1ae4a8bf4efa64b8c5",
"version" : "1.0.2"
}
},
{
"identity" : "yams",
"kind" : "remoteSourceControl",
"location" : "https://github.com/jpsim/Yams.git",
"state" : {
"revision" : "9234124cff5e22e178988c18d8b95a8ae8007f76",
"version" : "5.1.2"
}
}
],
"version" : 2
"object": {
"pins": [
{
"package": "swift-argument-parser",
"repositoryURL": "https://github.com/apple/swift-argument-parser.git",
"state": {
"branch": null,
"revision": "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a",
"version": "1.2.2"
}
},
{
"package": "XCResultKit",
"repositoryURL": "https://github.com/davidahouse/XCResultKit.git",
"state": {
"branch": null,
"revision": "612053960665fd1f16309c1ae4a8bf4efa64b8c5",
"version": "1.0.2"
}
}
]
},
"version": 1
}
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// swift-tools-version:5.6
// swift-tools-version:5.4
import PackageDescription

let package = Package(
name: "Xcresultparser",
platforms: [
.macOS(.v12),
.macOS(.v11),
],
products: [
.executable(
Expand All @@ -25,10 +25,10 @@ let package = Package(
url: "https://github.com/davidahouse/XCResultKit.git",
.upToNextMajor(from: "1.0.2")
),
.package(
url: "https://github.com/realm/SwiftLint.git",
from: "0.55.1"
)
// .package(
// url: "https://github.com/realm/SwiftLint.git",
// from: "0.55.1"
// )
],
targets: [
.executableTarget(
Expand All @@ -48,8 +48,8 @@ let package = Package(
package: "XCResultKit"
),
],
path: "Sources",
plugins: [.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint")]
path: "Sources"
// plugins: [.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint")]
),
.testTarget(
name: "XcresultparserTests",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ You should see the tool respond like this:
```
Error: Missing expected argument '<xcresult-file>'
OVERVIEW: xcresultparser 1.6.3
OVERVIEW: xcresultparser 1.6.4
Interpret binary .xcresult files and print summary in different formats: txt,
xml, html or colored cli output.
Expand Down

0 comments on commit 3929950

Please sign in to comment.