Xtask
We choose xtask
to run Rust scripts using cargo
. To build these scripts, just run:
cargo xtask # this will build the scripts and show the available commands
These scripts mainly deal with runtime operations.
Doc
Usage: xtask <COMMAND>
Commands:
build Build duniter binary
gen-doc Generate documentation (calls and events)
inject-runtime-code Inject runtime code in raw specs
release-runtime Release a new runtime
update-raw-specs Update raw specs locally with the files published on a Release
create-asset-link Create asset in a release
test Execute unit tests and integration tests End2tests are skipped
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help