File tree Expand file tree Collapse file tree 4 files changed +0
-38
lines changed
SwiftSyntaxDevUtils/Sources/swift-syntax-dev-utils Expand file tree Collapse file tree 4 files changed +0
-38
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,4 @@ struct TestExecutor {
98
98
additionalEnvironment: [ : ]
99
99
) . stdout
100
100
}
101
-
102
- /// This returns a path to the build examples folder.
103
- /// Example: '<workingDir>/swift-syntax/Examples/.build/arm64-apple-macosx/debug
104
- private func findExamplesBinPath( ) throws -> URL {
105
- let stdOut = try findSwiftpmBinPath ( packageDir: Paths . examplesDir)
106
- return URL ( fileURLWithPath: stdOut. trimmingCharacters ( in: . whitespacesAndNewlines) )
107
- }
108
101
}
Original file line number Diff line number Diff line change @@ -48,30 +48,6 @@ enum Paths {
48
48
. appendingPathComponent ( " SwiftRefactorExtension.xcodeproj " )
49
49
}
50
50
51
- static var workspaceDir : URL {
52
- packageDir
53
- . deletingLastPathComponent ( )
54
- }
55
-
56
- static var llvmDir : URL {
57
- workspaceDir
58
- . appendingPathComponent ( " llvm-project " )
59
- . appendingPathComponent ( " llvm " )
60
- }
61
-
62
- static var litExec : URL {
63
- llvmDir
64
- . appendingPathComponent ( " utils " )
65
- . appendingPathComponent ( " lit " )
66
- . appendingPathComponent ( " lit.py " )
67
- }
68
-
69
- static var python3Exec : URL {
70
- get throws {
71
- return try lookupExecutable ( for: " python3 " )
72
- }
73
- }
74
-
75
51
static var diffExec : URL {
76
52
get throws {
77
53
return try lookupExecutable ( for: " diff " )
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ class SigIntListener {
37
37
38
38
/// Provides convenience APIs for launching and gathering output from a subprocess
39
39
public class ProcessRunner {
40
- private static let serialQueue = DispatchQueue ( label: " \( ProcessRunner . self) " )
41
-
42
40
private let process : Process
43
41
44
42
public init (
Original file line number Diff line number Diff line change @@ -64,11 +64,6 @@ struct SwiftPMBuilder {
64
64
self . verbose = verbose
65
65
}
66
66
67
- func buildProduct( productName: String ) throws {
68
- logSection ( " Building product " + productName)
69
- try build ( packageDir: Paths . packageDir, name: productName, isProduct: true )
70
- }
71
-
72
67
func buildTarget( packageDir: URL , targetName: String ) throws {
73
68
logSection ( " Building target " + targetName)
74
69
try build ( packageDir: packageDir, name: targetName, isProduct: false )
You can’t perform that action at this time.
0 commit comments