File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ public final class Process: ObjectIdentifierProtocol {
192
192
self . verbose = verbose
193
193
}
194
194
195
- /// Returns true if the given program is present and executable in search path .
195
+ /// Returns the path of the the given program if found in the search paths .
196
196
///
197
197
/// The program can be executable name, relative path or absolute path.
198
198
public static func findExecutable( _ program: String ) -> AbsolutePath ? {
Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ public class SwiftPackageTool: SwiftTool<PackageToolOptions> {
328
328
usage: " Use the legacy scheme generator " ) ,
329
329
generateXcodeParser. add (
330
330
option: " --watch " , kind: Bool . self,
331
- usage: " Watch the filesystem and autogenerate the Xcode project if needed " ) ,
331
+ usage: " Watch for changes to the Package manifest to regenerate the Xcode project " ) ,
332
332
to: {
333
333
$0. xcodeprojOptions. useLegacySchemeGenerator = $1 ?? false
334
334
$0. xcodeprojOptions. enableAutogeneration = $2 ?? false
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ final class PackageToolTests: XCTestCase {
504
504
packageRoot: packageRoot)
505
505
506
506
let script = try helper. createXcodegenScript (
507
- XcodeprojOptions ( ) )
507
+ XcodeprojOptions ( xcconfigOverrides : . init ( " /tmp/overrides.xcconfig " ) ) )
508
508
509
509
XCTAssertEqual ( try fs. readFileContents ( script) , """
510
510
#!/usr/bin/env bash
@@ -515,7 +515,7 @@ final class PackageToolTests: XCTestCase {
515
515
516
516
set -eu
517
517
518
- swift package generate-xcodeproj
518
+ swift package generate-xcodeproj --xcconfig-overrides /tmp/overrides.xcconfig
519
519
520
520
""" )
521
521
}
You can’t perform that action at this time.
0 commit comments