From a6f3c2891192ea32ccfe602c8d8876227cb42395 Mon Sep 17 00:00:00 2001 From: Matthew Seaman Date: Wed, 2 Jan 2019 19:36:30 -0500 Subject: [PATCH] [Build] Clarify `BuildPlan.Error.missingLinuxMain` (#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 --- Sources/Build/BuildPlan.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Build/BuildPlan.swift b/Sources/Build/BuildPlan.swift index bfee84338d2..993dc024b56 100644 --- a/Sources/Build/BuildPlan.swift +++ b/Sources/Build/BuildPlan.swift @@ -788,7 +788,7 @@ public class BuildPlan { public var description: String { switch self { case .missingLinuxMain: - return "missing LinuxMain.swift file" + return "missing LinuxMain.swift file in the Tests directory" case .noBuildableTarget: return "the package does not contain a buildable target" }