~/hooky

hooky/check_all.sh -rwxr-xr-x 567 B
df6fb4e9 — Arthur Melton fix all of cargo clippy issues 2 years ago

            
df6fb4e9 Arthur Melton
4942cfff Arthur Melton
df6fb4e9 Arthur Melton
4942cfff Arthur Melton
df6fb4e9 Arthur Melton
4942cfff Arthur Melton
df6fb4e9 Arthur Melton
4942cfff Arthur Melton
df6fb4e9 Arthur Melton
4942cfff Arthur Melton
df6fb4e9 Arthur Melton















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

set -xe

runs=("x86_64-pc-windows-gnu" "x86_64-unknown-linux-gnu")

for i in ${runs[@]}
do
    rustup target add $i &> /dev/null
done

cd command
cargo clippy --all-features $(printf -- "--target %s " ${runs[@]})
cd src-tauri
cargo clippy --all-features $(printf -- "--target %s " ${runs[@]})
cd ../../config
cargo clippy --all-features $(printf -- "--target %s " ${runs[@]})
cd ../data
cargo clippy --all-features $(printf -- "--target %s " ${runs[@]})
cd ../victim
payload="../build.rs" cargo clippy --all-features $(printf -- "--target %s " ${runs[@]})