From 54db36c02337d432e1b6269832838e38c996ad96 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Mon, 2 Dec 2024 17:20:44 -0800 Subject: [PATCH] Chore: small tweaks to cli logging + cfbundlename --- packages/cli/src/build/request.rs | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/cli/src/build/request.rs b/packages/cli/src/build/request.rs index 303fbfd89..f0b4e64b7 100644 --- a/packages/cli/src/build/request.rs +++ b/packages/cli/src/build/request.rs @@ -43,7 +43,14 @@ impl BuildRequest { /// This will also run the fullstack build. Note that fullstack is handled separately within this /// code flow rather than outside of it. pub(crate) async fn build_all(self) -> Result { - tracing::debug!("Running build command..."); + tracing::debug!( + "Running build command... {}", + if self.build.force_sequential { + "(sequentially)" + } else { + "" + } + ); let (app, server) = match self.build.force_sequential { true => self.build_sequential().await?, @@ -657,8 +664,8 @@ impl BuildRequest { Platform::Server => platform_dir.clone(), // ends up *next* to the public folder // These might not actually need to be called `.app` but it does let us run these with `open` - Platform::MacOS => platform_dir.join(format!("{}.app", self.platform_exe_name())), - Platform::Ios => platform_dir.join(format!("{}.app", self.platform_exe_name())), + Platform::MacOS => platform_dir.join(format!("{}.app", self.krate.bundled_app_name())), + Platform::Ios => platform_dir.join(format!("{}.app", self.krate.bundled_app_name())), // in theory, these all could end up directly in the root dir Platform::Android => platform_dir.join("app"), // .apk (after bundling)