File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,14 @@ public struct LocationOptions: ParsableArguments {
67
67
68
68
/// The custom .build directory, if provided.
69
69
@Option ( name: . customLong( " scratch-path " ) , help: " Specify a custom scratch directory path (default .build) " , completion: . directory)
70
- public var scratchDirectory : AbsolutePath ?
70
+ var _scratchDirectory : AbsolutePath ?
71
+
72
+ @Option ( name: . customLong( " build-path " ) , help: . hidden)
73
+ var _deprecated_buildPath : AbsolutePath ?
74
+
75
+ var scratchDirectory : AbsolutePath ? {
76
+ self . _scratchDirectory ?? self . _deprecated_buildPath
77
+ }
71
78
72
79
/// The path to the file containing multiroot package data. This is currently Xcode's workspace file.
73
80
@Option ( name: . customLong( " multiroot-data-file " ) , help: . hidden, completion: . directory)
You can’t perform that action at this time.
0 commit comments