feat(orbital-cli): support local engine path in orbital init #787
No reviewers
Labels
No labels
Context: Bug
Context: Enhancements
Platform: Android
Platform: Linux
Platform: Web
Platform: Windows
Platform: iOS
Platform: macOS
Release
Target: CI
Target: CLI
Target: Dependency
Target: Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
SakulFlee/Orbital!787
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/local-engine-path"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add --engine-path flag to 'orbital init' as an alternative to
--engine-repo. When a local path is provided, the generated
Cargo.toml uses 'orbital = { path = ".../Crates/orbital" }'
instead of a git dependency.
Changes:
validate_engine_source() that accepts both local paths and
git URLs, update interactive/non_interactive prompts
git dep; all-in-one template placeholder replacement handles
both cases
Usage:
orbital init mygame --engine-path /path/to/Orbital
orbital init mygame --engine-path ../Orbital --yes
354a23d4eebe3e89e8fe