mirror of
https://github.com/denisidoro/navi
synced 2024-11-29 06:50:32 +00:00
17 lines
No EOL
439 B
Bash
Executable file
17 lines
No EOL
439 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
|
|
source "${NAVI_HOME}/scripts/install"
|
|
|
|
header "Cargo nighly fix..."
|
|
cargo +nightly fix --clippy -Z unstable-options 2> /dev/null || true
|
|
|
|
header "Cargo fix..."
|
|
cargo fix 2> /dev/null || true
|
|
|
|
header "Cargo fmt..."
|
|
cargo fmt 2> /dev/null || true
|
|
|
|
header "dot code beautify..."
|
|
find scripts -type f | xargs -I% dot code beautify 2> /dev/null || true |