16 lines
623 B
Bash
Executable File
16 lines
623 B
Bash
Executable File
#!/bin/sh
|
|
set -o nounset # Fail on use of unset variable.
|
|
set -o errexit # Exit on command failure.
|
|
set -o pipefail # Exit on failure of any command in a pipeline.
|
|
set -o errtrace # Trap errors in functions and subshells.
|
|
set -o noglob # Disable filename expansion (globbing),
|
|
# since it could otherwise happen during
|
|
# path splitting.
|
|
shopt -s inherit_errexit # Inherit the errexit option status in subshells.
|
|
|
|
set -x
|
|
|
|
git update-index --refresh
|
|
cargo clippy --all-targets --all -- -D warnings
|
|
cargo fmt -- --check
|