mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Update instructions on using ./tools/format.py in README
This commit is contained in:
parent
b9cdf088e7
commit
1023202634
1 changed files with 6 additions and 0 deletions
|
@ -125,6 +125,12 @@ submodule. However, you need to install separately:
|
|||
# Format code.
|
||||
./tools/format.py
|
||||
|
||||
Before running `./tools/format.py`, make sure you have `yapf` installed for the
|
||||
current Python and `rustfmt` for Rust. They can be installed by:
|
||||
|
||||
pip install yapf
|
||||
rustup component add rustfmt-preview
|
||||
|
||||
Other useful commands:
|
||||
|
||||
# Call ninja manually.
|
||||
|
|
Loading…
Reference in a new issue