8 lines
142 B
Bash
8 lines
142 B
Bash
#!/bin/bash
|
|
|
|
set -e # fail on any error
|
|
set -u # treat unset variables as error
|
|
|
|
cargo install rustfmt-nightly
|
|
cargo fmt -- --write-mode=diff
|