v1.2.3 release: remove ShoeGaze CLI scaffolding (ShoeGaze now standalone)

This commit is contained in:
2026-07-04 22:48:23 -07:00
parent 8a2eb191a2
commit c058493a98
21 changed files with 284 additions and 2183 deletions
+4 -31
View File
@@ -25,8 +25,8 @@ struct LyrebirdCLIMain {
print("lyrebird \(lyrebirdVersion)")
case .help:
printHelp()
case .new(let name, let template, let lyrebirdPath, let shoegazePath):
runNew(name: name, template: template, lyrebirdPath: lyrebirdPath, shoegazePath: shoegazePath)
case .new(let name, let template, let lyrebirdPath):
runNew(name: name, template: template, lyrebirdPath: lyrebirdPath)
case .run(let release):
runProject(release: release)
case .export(let name, let toPath, let overwrite):
@@ -106,8 +106,7 @@ struct LyrebirdCLIMain {
private static func runNew(
name: String,
template: ProjectTemplate,
lyrebirdPath: String?,
shoegazePath: String? = nil
lyrebirdPath: String?
) {
let resolvedPath: String?
if let p: String = lyrebirdPath {
@@ -131,33 +130,11 @@ struct LyrebirdCLIMain {
""", stderr)
}
// Resolve ShoeGaze path (shoegaze template only).
let resolvedShoegazePath: String?
if let p: String = shoegazePath {
resolvedShoegazePath = URL(fileURLWithPath: p).standardizedFileURL.path
} else {
resolvedShoegazePath = nil
}
if template == .shoegaze || template == .shoegazeIOS {
if let path: String = resolvedShoegazePath {
print("ShoeGaze dependency: local checkout at \(path)")
} else {
fputs("""
note: --shoegaze-path not supplied; the generated project will use \
the placeholder URL \(ProjectScaffolder.shoegazePackageURL). \
Edit the project or re-run with --shoegaze-path <path to ShoeGaze checkout> \
until ShoeGaze is published at that URL.
""", stderr)
}
}
do {
try ProjectScaffolder.scaffold(
name: name,
template: template,
lyrebirdPath: effectivePath,
shoegazePath: resolvedShoegazePath
lyrebirdPath: effectivePath
)
print("Created \(name)/")
} catch ProjectScaffolder.Error.projectExists(let n) {
@@ -222,8 +199,6 @@ struct LyrebirdCLIMain {
SPM templates (open Package.swift in Xcode):
basic (default), demo, ui-demo, nrt, score
Xcode-project templates (build to .app or .appex):
shoegaze macOS guitar-pedalboard app (Xcode, .app)
shoegaze-ios iOS guitar-pedalboard app (Xcode, .app)
macos-ui-xcode macOS @UIParam synth app
ios-ui iOS @UIParam synth app
auv3 AUv3 host + .appex
@@ -240,8 +215,6 @@ struct LyrebirdCLIMain {
--template <t> Template name (see above)
--lyrebird-path <path> Use a local Lyrebird checkout instead of the
published remote package URL
--shoegaze-path <path> (shoegaze / shoegaze-ios) Use a local ShoeGaze
checkout instead of the placeholder remote URL
Run `lyrebird` with no arguments for an interactive shell.
""")