We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7063c45 commit ab5677aCopy full SHA for ab5677a
Sources/CoreCommands/Options.swift
@@ -67,7 +67,14 @@ public struct LocationOptions: ParsableArguments {
67
68
/// The custom .build directory, if provided.
69
@Option(name: .customLong("scratch-path"), help: "Specify a custom scratch directory path (default .build)", completion: .directory)
70
- public var scratchDirectory: AbsolutePath?
+ 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
+ }
78
79
/// The path to the file containing multiroot package data. This is currently Xcode's workspace file.
80
@Option(name: .customLong("multiroot-data-file"), help: .hidden, completion: .directory)
0 commit comments