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 4
4
5
5
./util/update_lints.py
6
6
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
-
14
7
# add all changed files
15
8
git add .
16
9
git commit -m " Bump the version"
17
10
18
11
set +e
19
12
13
+ echo " Running \` cargo fmt\` .."
14
+
20
15
cd clippy_lints && cargo fmt -- --write-mode=overwrite && cd ..
21
16
cargo fmt -- --write-mode=overwrite
22
17
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