prep for 1.2.0 release updates
This commit is contained in:
@@ -85,12 +85,16 @@ lyrebird new 1stPiece # error: not a valid Swift module name
|
||||
**Templates** — `--template <name>`:
|
||||
|
||||
- SPM-only (open `Package.swift` in Xcode): `basic` (default), `demo`, `ui-demo`, `nrt`, `score`
|
||||
- Xcode-project (ships `.xcodeproj` + `.xcworkspace`): `macos-ui-xcode`, `ios-ui`, `auv3`
|
||||
- Xcode-project (ships `.xcodeproj` + `.xcworkspace`, builds to `.app` or `.appex`): `shoegaze`, `shoegaze-ios`, `macos-ui-xcode`, `ios-ui`, `auv3`
|
||||
|
||||
```sh
|
||||
lyrebird new MyApp --template macos-ui-xcode # macOS .app
|
||||
lyrebird new MyApp --template ios-ui # iOS .app
|
||||
lyrebird new MyPlugin --template auv3 # AUv3 host + .appex
|
||||
lyrebird new MyRig --template shoegaze \
|
||||
--shoegaze-path /path/to/ShoeGaze # macOS guitar pedalboard (.xcodeproj, .app)
|
||||
lyrebird new MyRig --template shoegaze-ios \
|
||||
--shoegaze-path /path/to/ShoeGaze # iOS guitar pedalboard (.xcodeproj, .app)
|
||||
```
|
||||
|
||||
**Local Lyrebird checkout** — `--lyrebird-path <abs-path>` makes the generated project depend on a local Lyrebird checkout (via `.package(name: "Lyrebird", path: ...)` in `Package.swift`, `XCLocalSwiftPackageReference` in `<name>.xcodeproj`). Use while the published repo URL isn't yet accessible:
|
||||
@@ -100,7 +104,15 @@ lyrebird new MyApp --template macos-ui-xcode \
|
||||
--lyrebird-path /Users/me/Documents/LyrebirdII
|
||||
```
|
||||
|
||||
See `docs/tooling/project-system.md` for the layout each template emits.
|
||||
**Local ShoeGaze checkout** — `--shoegaze-path <abs-path>` (shoegaze / shoegaze-ios templates) wires the `LyrebirdShoeGaze` package as a local SPM dependency. Omitting this flag emits a placeholder remote URL in the generated project; edit it or re-run with `--shoegaze-path` once ShoeGaze is published. The placeholder URL is `ProjectScaffolder.shoegazePackageURL`.
|
||||
|
||||
```sh
|
||||
lyrebird new MyRig --template shoegaze-ios \
|
||||
--lyrebird-path /Users/me/Documents/LyrebirdII \
|
||||
--shoegaze-path /Users/me/Documents/LyrebirdII/ShoeGaze
|
||||
```
|
||||
|
||||
See `docs/tooling/project-system.md` for the layout each template emits. See `docs/stdlib/shoegaze.md` for the ShoeGaze package concepts and workflow.
|
||||
|
||||
If the directory already exists, the command fails cleanly and leaves the filesystem unchanged.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user