Files
sprout/hack/format.sh
T
alex 406ad8dede fix(hack): format every shell script in hack
format.sh ran shfmt on hack/**/*.sh without enabling globstar, so ** only
matched a single directory. Scripts directly in hack and in deeper
directories like hack/dev/kernel were never formatted.
2026-09-26 20:52:15 -07:00

10 lines
218 B
Bash
Executable File

#!/bin/bash
set -e
# Without globstar, ** matches like *, so only scripts one directory deep are formatted.
shopt -s globstar
cd "$(dirname "${0}")/.." || exit 1
cargo fmt --all || true
shfmt -w hack/**/*.sh || true