543526cb85
Add cargo fmt script
9 lines
164 B
Bash
Executable File
9 lines
164 B
Bash
Executable File
ARGS=()
|
|
|
|
for crate in relibc $(find src -name Cargo.toml | cut -d '/' -f2 | grep -v template)
|
|
do
|
|
ARGS+=("--package" "$crate")
|
|
done
|
|
|
|
cargo fmt "${ARGS[@]}" "$@"
|