Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Don’t git init

Kabir Oberai9ce80d1db7a7
diff --git a/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift b/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift
index 7aeb32e..e2f3b1c 100644
--- a/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift
+++ b/Sources/SupersignCLISupport/DevCommands/DevNewCommand.swift
@@ -161,12 +161,6 @@ struct DevNewCommand: AsyncParsableCommand {
try "\(contents)\n".write(to: url, atomically: true, encoding: .utf8)
}
- let gitInit = Process()
- gitInit.executableURL = try await ToolRegistry.locate("git")
- gitInit.arguments = ["init"]
- gitInit.currentDirectoryURL = baseURL
- try await gitInit.runUntilExit()
-
print("\nFinished generating project \(name). Next steps:")
print("- Enter the directory with `cd \(name)`")
print("- Build and run with `supersign dev`")