cro3
is an extremely user-friendly tool for ChromiumOS developers.
It provides a simple way to do common development tasks and make the barrier for contributing to ChromiumOS and cro3 itself as low as possible.
It also makes discovering features and functionality as easy as and clear as possible, with command completions.
Moreover, it manages local development hardware including DUTs and Servos, and act as working examples of commands to interact with them.
We hope cro3 gives you some time for a nap and/or coffee, or other tasks by making your work more effective ;)
Install the Rust toolchain and run:
make install
You can install the shell completion by running this at any time:
# Bash
cro3 setup bash-completion
# Zsh
cro3 setup zsh-completion
Please don't forget to follow instructions that are printed after running the command above and reload your shell!
This will be done automatically after make install
if your default shell is supported by cro3.
...are you using other shells? We appreciate your pull-requests!
Please refer to docs/cmdline.md ( HTML version )
Tips: You can replace cro3
with cargo run --
to use your own modified version of cro3 instead.
Also, you can preview the command line reference by running:
gh extension install https://github.com/yusukebe/gh-markdown-preview
make preview
After making your change, please run:
make check
to verify your change with formatting checks and unit tests.
Once your commit is ready, please file a pull request on GitHub, as described in CONTRIBUTING.md.
To make sure the commits in the main tree to be bisectable, pull requests will be squashed and rebased on top of the main branch before being merged. Therefore, please make sure that the title and the description of a pull request can be treated as commit messages, before submitting it out for code review.
Happy hacking!
This is not an officially supported Google product.