You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SWBBuildSystem/BuildOperation.swift
-56Lines changed: 0 additions & 56 deletions
Original file line number
Diff line number
Diff line change
@@ -310,62 +310,6 @@ package final class BuildOperation: BuildSystemOperation {
310
310
return effectiveStatus
311
311
}
312
312
313
-
// Helper method to emit information to the CAPTURED_BUILD_INFO_DIR. This is mainly to be able to gracefully return after emitting a warning if something goes wrong, because not being able to emit this info is typically not serious enough to want to abort the whole build.
314
-
func emitCapturedBuildInfo(to path:Path){
315
-
// If the build description doesn't have captured build info, then we don't emit it. Otherwise we proceed.
buildOutputDelegate.warning("no captured build info available for incremental build - not emitting it")
318
-
return
319
-
}
320
-
321
-
guard path.isAbsolute else{
322
-
buildOutputDelegate.warning("CAPTURED_BUILD_INFO_DIR must be an absolute path, but is \(path.str) (skipping emitting captured build info)")
323
-
return
324
-
}
325
-
326
-
// Create the directory if necessary.
327
-
if !fs.exists(path){
328
-
do{
329
-
try fs.createDirectory(path, recursive:true)
330
-
}
331
-
catch{
332
-
buildOutputDelegate.warning("Could not create directory for CAPTURED_BUILD_INFO_DIR (\(path.str)): \(error) (skipping emitting captured build info)")
333
-
return
334
-
}
335
-
}
336
-
else{
337
-
guard fs.isDirectory(path)else{
338
-
buildOutputDelegate.warning("CAPTURED_BUILD_INFO_DIR (\(path.str)) exists but is not a directory (skipping emitting captured build info)")
339
-
return
340
-
}
341
-
}
342
-
343
-
// The output path includes our process ID, since there might be multiple builds dumping information here, e.g. if there's a script which invokes another xcodebuild instance.
Copy file name to clipboardExpand all lines: Sources/SWBCore/TargetDependencyResolver.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -79,12 +79,12 @@ public struct TargetBuildGraph: TargetGraph, Sendable {
79
79
}
80
80
81
81
/// The workspace context this graph is for.
82
-
publicletworkspaceContext:WorkspaceContext
82
+
privateletworkspaceContext:WorkspaceContext
83
83
84
84
/// The build request the graph is for.
85
-
publicletbuildRequest:BuildRequest
85
+
privateletbuildRequest:BuildRequest
86
86
87
-
publicletbuildRequestContext:BuildRequestContext
87
+
privateletbuildRequestContext:BuildRequestContext
88
88
89
89
/// The complete list of configured targets, in topological order. That is, each target will be included in the array only after all of the targets that it depends on (unless there is a target dependency cycle).
/// Private method to get the cached settings for the given parameters, project, and target.
94
84
///
95
85
/// - remark: This is internal so that clients don't somehow call this with a project which doesn't match the target, except for `BuildRequestContext` which has a cover method for it. There are public methods covering this one.
0 commit comments