Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
One ROM CLI
This directory contains the source code and build scripts for the One ROM command-line interface (CLI) tool.
The CLI is a Rust application that provides a cross-platform CLI to manage One ROMs, including those with the USB plugin to provide management of One ROM while running (serving bytes).
For instructions on using the CLI, see The CLI manual.
Building
With the One ROM build environment installed, from this directory:
Releasing
onerom-cli has two release channels:
- The
onerombinary — cross-platform CLI artifacts distributed via https://onerom.org/cli and taggedcli-vX.Y.Z. Steps below. - The
onerom-clilibrary crate — published to crates.io as part of the main One ROM release (see RELEASE.md). Studio and other applications build on this library, so it is published consistently alongside its dependencies (onerom-app,onerom-config,onerom-fw,onerom-gen,onerom-fw-parser,onerom-metadata).
Binary release
-
Build the release artifacts for all platforms:
Artifacts are placed in the
dist/directory. -
Update the CLI release manifest and copy the artifacts to the One ROM images repo. Assuming ../../../one-rom-images exists:
-
Commit the changes to the one-rom-images repo and push:
-
Tag the current commit with the version and push:
-
Check new releases appear at https://onerom.org/cli/
-
Consider whether the CLI Manual needs updating for the new release.