Skip to content

Commit 8c1961c

Browse files
committed
Switch to apple/swift-tools-support-core
… as opposed to using SwiftPM directly. This is way of the future.
1 parent 714e5be commit 8c1961c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ let package = Package(
1212
targets: ["FileCheck"]),
1313
],
1414
dependencies: [
15-
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.1.0"),
15+
.package(url: "https://github.com/apple/swift-tools-support-core.git", .exact("0.0.1")),
1616
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
1717
],
1818
targets: [
1919
.target(
2020
name: "FileCheck"),
2121
.target(
2222
name: "filecheck-tool",
23-
dependencies: ["FileCheck", "SPMUtility", "Rainbow"]),
23+
dependencies: ["FileCheck", "SwiftToolsSupport", "Rainbow"]),
2424
.testTarget(
2525
name: "FileCheckTests",
2626
dependencies: ["FileCheck"]),

Sources/filecheck-tool/main.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
2-
import Basic
3-
import SPMUtility
2+
import TSCBasic
3+
import TSCUtility
44
import FileCheck
55
import Rainbow
66

0 commit comments

Comments
 (0)