Enable selective formatting

This commit is contained in:
Reid 'arrdem' McKenzie 2023-05-30 22:22:13 -06:00
parent 9b5ed98b16
commit b17bafa077

View file

@ -2,9 +2,7 @@
set -euox pipefail set -euox pipefail
cd "$(git rev-parse --show-toplevel)" cd "$(git rev-parse --show-toplevel)"
bazel build //tools/... //projects/reqman DIRS=("${@:-projects tools}")
DIRS=(projects tools)
function brl() { function brl() {
bin="$1" bin="$1"
@ -20,4 +18,4 @@ for d in "${DIRS[@]}"; do
brl tools/unify --quote '"' -ir $(realpath "$d") brl tools/unify --quote '"' -ir $(realpath "$d")
done done
brl projects/reqman clean tools/python/requirements.txt # brl projects/reqman clean tools/python/requirements.txt