1
0
Fork 0
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:
Yingbo (Max) Wang 2018-09-30 14:30:12 -07:00 committed by Bert Belder
parent b9cdf088e7
commit 1023202634
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461

View file

@ -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.