Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.
Refine NewCommand
Kabir Oberai205041caa0bc
diff --git a/Sources/XToolSupport/NewCommand.swift b/Sources/XToolSupport/NewCommand.swiftindex 4a5fda8..ca1a24f 100644--- a/Sources/XToolSupport/NewCommand.swift+++ b/Sources/XToolSupport/NewCommand.swift@@ -79,7 +79,7 @@ struct NewCommand: AsyncParsableCommand {.macOS(.v14),],products: [- // An xtool project should contain exactly one library target,+ // An xtool project should contain exactly one library product,// representing the main app..library(name: "\(moduleName)",@@ -116,7 +116,6 @@ struct NewCommand: AsyncParsableCommand {.netrc/xtool- /.sourcekit-lsp"""),diff --git a/Sources/XToolSupport/SetupCommand.swift b/Sources/XToolSupport/SetupCommand.swiftindex 22bd99e..d8a358f 100644--- a/Sources/XToolSupport/SetupCommand.swift+++ b/Sources/XToolSupport/SetupCommand.swift@@ -25,7 +25,9 @@ struct SetupOperation {try await AuthOperation(logoutFromExisting: false, quiet: quiet).run()#if os(macOS)- print("Skipping Darwin SDK setup since we're on macOS.")+ if !quiet {+ print("Skipping Darwin SDK setup since we're on macOS.")+ }#elseswitch try DarwinSDK.current()?.isUpToDate() {case true?: