Skip to content

Commit d493bd7

Browse files
committed
Delete dependency on Rainbow
Turns out it's not really used for anything. Delete it for now.
1 parent 8c1961c commit d493bd7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Package.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@ let package = Package(
1313
],
1414
dependencies: [
1515
.package(url: "https://github.com/apple/swift-tools-support-core.git", .exact("0.0.1")),
16-
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
1716
],
1817
targets: [
1918
.target(
2019
name: "FileCheck"),
2120
.target(
2221
name: "filecheck-tool",
23-
dependencies: ["FileCheck", "SwiftToolsSupport", "Rainbow"]),
22+
dependencies: ["FileCheck", "SwiftToolsSupport"]),
2423
.testTarget(
2524
name: "FileCheckTests",
2625
dependencies: ["FileCheck"]),

Sources/filecheck-tool/main.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import Foundation
22
import TSCBasic
33
import TSCUtility
44
import FileCheck
5-
import Rainbow
65

76
func run() -> Int {
87
let cli = ArgumentParser(usage: "FileCheck", overview: "")
@@ -73,7 +72,6 @@ func run() -> Int {
7372
cli.printUsage(on: stderrStream)
7473
return -1
7574
}
76-
Rainbow.enabled = !options.contains(.disableColors)
7775

7876
let fileHandle: FileHandle
7977
if let input = results.get(inputFile) {

0 commit comments

Comments
 (0)