@@ -90,14 +90,13 @@ public final class SwiftPMWorkspace {
90
90
let workspaceConfiguration = try Workspace . Configuration ( path: packageRoot. appending ( components: " .swiftpm " , " config " ) , fs: fileSystem)
91
91
92
92
self . workspace = Workspace (
93
- dataPath: buildPath,
94
- editablesPath: packageRoot. appending ( component: " Packages " ) ,
95
- pinsFile: packageRoot. appending ( component: " Package.resolved " ) ,
96
- manifestLoader: ManifestLoader ( manifestResources: toolchain. manifestResources, cacheDir: buildPath) ,
97
- delegate: BuildSettingProviderWorkspaceDelegate ( ) ,
93
+ dataPath: buildPath,
94
+ editablesPath: packageRoot. appending ( component: " Packages " ) ,
95
+ pinsFile: packageRoot. appending ( component: " Package.resolved " ) ,
96
+ manifestLoader: ManifestLoader ( manifestResources: toolchain. manifestResources, cacheDir: buildPath) ,
98
97
config: workspaceConfiguration,
99
- fileSystem: fileSystem,
100
- skipUpdate: true )
98
+ fileSystem: fileSystem,
99
+ skipUpdate: true )
101
100
102
101
let triple = toolchain. triple
103
102
@@ -446,24 +445,6 @@ private func findPackageDirectory(
446
445
return path
447
446
}
448
447
449
- public final class BuildSettingProviderWorkspaceDelegate : WorkspaceDelegate {
450
- public func packageGraphWillLoad(
451
- currentGraph: PackageGraph ,
452
- dependencies: AnySequence < ManagedDependency > ,
453
- missingURLs: Set < String > )
454
- { }
455
-
456
- public func fetchingWillBegin( repository: String ) { }
457
-
458
- public func fetchingDidFinish( repository: String , diagnostic: TSCBasic . Diagnostic ? ) { }
459
-
460
- public func cloning( repository: String ) { }
461
-
462
- public func removing( repository: String ) { }
463
-
464
- public func managedDependenciesDidUpdate( _ dependencies: AnySequence < ManagedDependency > ) { }
465
- }
466
-
467
448
extension TSCBasic . Diagnostic . Behavior {
468
449
var asLogLevel : LogLevel {
469
450
switch self {
0 commit comments