mirror of
https://github.com/denisidoro/navi.git
synced 2026-01-23 02:14:19 +00:00
Fix all new warnings (#467)
This commit is contained in:
parent
b6be9db6a8
commit
17cd4f52d1
3 changed files with 14 additions and 21 deletions
12
scripts/fix
12
scripts/fix
|
|
@ -6,21 +6,21 @@ source "${NAVI_HOME}/scripts/install"
|
|||
|
||||
cd "$NAVI_HOME"
|
||||
|
||||
header "Cargo nighly fix..."
|
||||
header "cargo clippy fix..."
|
||||
cargo +nightly clippy --fix -Z unstable-options || true
|
||||
|
||||
header "Cargo fix..."
|
||||
header "cargo fix..."
|
||||
cargo fix || true
|
||||
|
||||
header "Cargo fmt..."
|
||||
header "cargo fmt..."
|
||||
cargo fmt || true
|
||||
|
||||
header "clippy..."
|
||||
cargo clippy || true
|
||||
|
||||
header "dot code beautify..."
|
||||
find scripts -type f | xargs -I% dot code beautify % || true
|
||||
dot code beautify "${NAVI_HOME}/alfred/alfred.bash" || true
|
||||
dot code beautify "${NAVI_HOME}/alfred/alfred2.bash" || true
|
||||
dot code beautify "${NAVI_HOME}/tests/core.bash" || true
|
||||
dot code beautify "${NAVI_HOME}/tests/run" || true
|
||||
|
||||
header "clippy..."
|
||||
cargo clippy || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue