Tooling
Most of the tooling is handled by cargo xtask which is an alias defined in .cargo/config.toml to
run the binary under crates/xtask. This command must run from the root of the repository. All
command-line arguments are documented and accessible from cargo xtask help. The most important
ones are:
cargo xtask runnerto compile (and possibly flash or update) a platformcargo xtask appletto compile (and possibly install) an applet
Some tools are still implemented as shell scripts under the scripts directory. The most important
ones are:
./scripts/ci.shto run the full (software) continuous integration locally./scripts/hwci.shto run the hardware continuous integration on a specific device./scripts/sync.shto synchronize all generated content (part of the CI)./scripts/wrapper.shto run a dependency after installing it if needed
Ideally, all shell scripts would migrate to cargo xtask.