File tree Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Expand file tree Collapse file tree 3 files changed +62
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # set -x
4
+ set -euo pipefail
5
+
6
+ if [[ $# -ne 0 ]]; then
7
+ echo " $0 : expect no arguments" >&2
8
+ exit 1
9
+ fi
10
+
11
+ SCRIPTS=" $( dirname " $( realpath " $0 " ) " ) "
12
+ WORKSPACE=" $( realpath " $SCRIPTS " /..) "
13
+
14
+ cd " $WORKSPACE "
15
+
16
+ for X in lints/* ; do
17
+ pushd " $X "
18
+ cargo clippy --workspace --tests -- \
19
+ -D warnings \
20
+ -W clippy::pedantic
21
+ popd
22
+ done
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # set -x
4
+ set -euo pipefail
5
+
6
+ if [[ $# -ne 0 ]]; then
7
+ echo " $0 : expect no arguments" >&2
8
+ exit 1
9
+ fi
10
+
11
+ SCRIPTS=" $( dirname " $( realpath " $0 " ) " ) "
12
+ WORKSPACE=" $( realpath " $SCRIPTS " /..) "
13
+
14
+ cd " $WORKSPACE "
15
+
16
+ for X in $( find . -name Cargo.lock) ; do
17
+ pushd " $( dirname " $X " ) "
18
+ rm -f Cargo.lock
19
+ cargo build --workspace --tests
20
+ cargo upgrade --workspace --to-lockfile --offline
21
+ popd
22
+ done
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # set -x
4
+ set -euo pipefail
5
+
6
+ if [[ $# -ne 0 ]]; then
7
+ echo " $0 : expect no arguments" >&2
8
+ exit 1
9
+ fi
10
+
11
+ SCRIPTS=" $( dirname " $( realpath " $0 " ) " ) "
12
+ WORKSPACE=" $( realpath " $SCRIPTS " /..) "
13
+
14
+ cd " $WORKSPACE "
15
+
16
+ for X in lints/* ; do
17
+ cargo dylint --upgrade " $X "
18
+ done
You can’t perform that action at this time.
0 commit comments