6ced871d9a
Wrote tests for the functions implemented in 40558b2 and maybe made that
test a little more comprehensible.
Also made sure that fmt.sh and test.sh were being executed by bash all
the time (compatibility with other shells).
10 lines
176 B
Bash
Executable File
10 lines
176 B
Bash
Executable File
#!/bin/bash
|
|
ARGS=()
|
|
|
|
for crate in relibc $(find src -name Cargo.toml | cut -d '/' -f2 | grep -v template)
|
|
do
|
|
ARGS+=("--package" "$crate")
|
|
done
|
|
|
|
cargo fmt "${ARGS[@]}" "$@"
|