From b75cf2eee1d939357039674a19860e91dffbd6ff Mon Sep 17 00:00:00 2001 From: Yen-Chia Lin Date: Thu, 10 Aug 2023 19:44:12 +0200 Subject: [PATCH] Additionally passing in the AbsolutePaths to mafinest file and and root manifest file --- Sources/TuistLoader/Loaders/ManifestLoader.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/TuistLoader/Loaders/ManifestLoader.swift b/Sources/TuistLoader/Loaders/ManifestLoader.swift index 9e71fd8f13a..d1cfacf237c 100644 --- a/Sources/TuistLoader/Loaders/ManifestLoader.swift +++ b/Sources/TuistLoader/Loaders/ManifestLoader.swift @@ -281,10 +281,12 @@ public class ManifestLoader: ManifestLoading { do { var envVars = environment.manifestLoadingVariables + envVars["TUIST_MANIFEST_PATH"] = "\(path)" // Pass in the flag to manifest file if it is being loaded as the root manifest or from a subfolder like Pods/ folder if let rootPath, manifest == .project && rootPath == path { envVars["TUIST_IS_ROOT_MANIFEST"] = "true" + envVars["TUIST_ROOT_MANIFEST_PATH"] = "\(rootPath)" } let string = try System.shared.capture(arguments, verbose: false, environment: envVars)