Expand description
cargo xtask bundle — package a KoboRoot.tgz for device installation.
Creates one or more .tgz archives that can be placed in the .kobo/
directory on a Kobo device to install or update Cadmus.
§Output files
| Flag | Output | Contents |
|---|---|---|
| (default) | bundle/KoboRoot-nm.tgz | Cadmus + NickelMenu |
--no-nickel | bundle/KoboRoot.tgz | Cadmus only |
--test | bundle/KoboRoot-nm-test.tgz | Test build + NickelMenu |
--test --no-nickel | bundle/KoboRoot-test.tgz | Test build only |
§NickelMenu
NickelMenu is downloaded from GitHub Releases and cached in
.cache/nickelmenu/.
The version is controlled by NICKEL_VERSION. Pass --skip-download
to use a previously cached archive.
Structs§
- Bundle
Args - Arguments for
cargo xtask bundle.
Constants§
- NICKEL_
VERSION - The NickelMenu release version to bundle.
Functions§
- create_
bundle_ 🔒cadmus_ only - Creates a bundle containing only Cadmus (no NickelMenu).
- create_
bundle_ 🔒with_ nickel - Creates a bundle that merges Cadmus with NickelMenu.
- download_
nickel_ 🔒menu - Downloads the NickelMenu release archive from GitHub with checksum verification.
- ensure_
nickel_ 🔒menu - Returns the path to the NickelMenu archive, downloading it if necessary.
- run
- Packages the distribution directory into a
KoboRoot.tgz.