Skip to content

Commit a6f3c28

Browse files
matthewseamanaciidgh
authored andcommitted
[Build] Clarify BuildPlan.Error.missingLinuxMain (swiftlang#1920)
* [Build] Clarify `BuildPlan.Error.missingLinuxMain` Make it clear that LinuxMain.swift must be at the top level. [SR-8646] BuildPlan.Error.missingLinuxMain description rephrasing * [Build] Reclarify `BuildPlan.Error.missingLinuxMain` Make it clear that LinuxMain.swift must be in the Tests directory, rather than just an arbitrary "top level". [SR-8646] BuildPlan.Error.missingLinuxMain description rephrasing
1 parent d73fbdf commit a6f3c28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Build/BuildPlan.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ public class BuildPlan {
788788
public var description: String {
789789
switch self {
790790
case .missingLinuxMain:
791-
return "missing LinuxMain.swift file"
791+
return "missing LinuxMain.swift file in the Tests directory"
792792
case .noBuildableTarget:
793793
return "the package does not contain a buildable target"
794794
}

0 commit comments

Comments
 (0)