diff options
author | Rustin-Liu <rustin.liu@gmail.com> | 2019-10-11 23:44:46 +0800 |
---|---|---|
committer | Tim Oram <dev@mitmaro.ca> | 2019-10-11 15:42:27 -0230 |
commit | abbc2011e87654fcb952d81aa89be7bafba91f2a (patch) | |
tree | 66b83369458e8bd842eb2f04d2a76ed6424edfd0 | |
parent | c04822d26b765929e582542d3c3a1cb8861718f6 (diff) |
add format step in readme
-rw-r--r-- | README.md | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -200,6 +200,15 @@ Use cargo to build and run the project. From the project root run: cargo run <path-to-git-rebase-todo-file> +### Format + +Use rust-fmt format project. **You need to run format with nightly.** The current nightly rust version is +nightly-2019-09-13. You can find the current nightly rust version in the `scripts/format.bash`. + + # format code before you commit + cargo +nightly-2019-09-13 fmt + + ### Release ##### Install Cargo Deb |