Skip to content

Files

This branch is up to date with rust-lang-nursery/rust-cookbook:master.

xtask

xtask - (Rust Cookbook)

Rust Dependencies:

Available Tasks

test

Run various tests for the project. You can specify individual tests or run them all.

  • cargo: Run the cargo test command for the Rust code.
  • spellcheck: Run the spellcheck script.
  • link: Verify links within the project.
  • all: Run all the tests (default).

Usage:

cargo xtask test [all|cargo|spellcheck|link]

book

Build or serve the project's documentation using mdbook.

  • build: Build the book (default).
  • serve: Serve the book locally and open it in a browser.

Usage:

cargo xtask book [build|serve]