File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 44
55./util/update_lints.py
66
7- git status --short | sort | grep -v README.md | grep -v helper.txt | sort > helper.txt
8-
9- # abort if the files differ
10- diff " publish.files" " helper.txt"
11-
12- rm helper.txt
13-
147# add all changed files
158git add .
169git commit -m " Bump the version"
1710
1811set +e
1912
13+ echo " Running \` cargo fmt\` .."
14+
2015cd clippy_lints && cargo fmt -- --write-mode=overwrite && cd ..
2116cargo fmt -- --write-mode=overwrite
2217
23- echo " remember to add a git tag and running 'cargo test' before committing the rustfmt changes"
18+ echo " Running tests to make sure \` cargo fmt\` did not break anything.."
19+
20+ cargo test
21+
22+ echo " If the tests passed, review and commit the formatting changes and remember to add a git tag."
You can’t perform that action at this time.
0 commit comments