navi/scripts/fix
2020-03-04 18:01:23 -03:00

8 lines
224 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
export NAVI_HOME="$(cd "$(dirname "$0")/.." && pwd)"
cargo +nightly fix --clippy -Z unstable-options 2> /dev/null || true
cargo fix 2> /dev/null || true
cargo fmt 2> /dev/null || true