minify-html/format

32 lines
578 B
Plaintext
Raw Permalink Normal View History

2021-08-09 05:56:37 -04:00
#!/usr/bin/env bash
set -Eeuxo pipefail
pushd "$(dirname "$0")" >/dev/null
2022-06-21 22:24:15 -04:00
npx prettier@2.3.2 -w 'version' 'bench/*.{js,json}' 'bench/runners/*.{js,json}' 'bench/runners/*/*.{js,json}' 'gen/*.{ts,json}' 'nodejs/*.{js,json,ts}'
2021-08-09 05:56:37 -04:00
for dir in \
bench/runners/minify-html \
bench/runners/minify-html-onepass \
cli \
debug/diff/c14n \
2021-08-10 03:35:14 -04:00
debug/diff/charlines \
2021-08-09 05:56:37 -04:00
fuzz \
fuzz/process \
java \
2022-06-21 09:03:35 -04:00
nodejs \
2022-06-21 22:24:15 -04:00
python/main \
python/onepass \
2021-08-09 05:56:37 -04:00
ruby \
rust/main \
rust/onepass \
2022-06-21 10:43:09 -04:00
wasm \
2021-08-09 05:56:37 -04:00
; do
pushd "$dir" >/dev/null
cargo fmt
popd >/dev/null
done
popd >/dev/null