feat: add biome (#246)

This commit is contained in:
Nicolas Hedger
2023-10-06 20:16:29 +02:00
committed by GitHub
parent bb83b2c3a1
commit 616cfda279
4 changed files with 91 additions and 1 deletions

View File

@@ -667,7 +667,8 @@ for tool in "${tools[@]}"; do
fi
# cargo-udeps 0.1.30 and wasm-pack 0.12.0 do not support --version option.
case "${tool}" in
cargo-careful | cargo-machete) ;; # cargo-careful 0.3.4 and cargo-machete 0.5.0 do not support neither --version nor --help option.
biome) rx "${tool_bin}" --version || true ;; # biome up to 1.2.2 exits with 1 on --version and --help
cargo-careful | cargo-machete) ;; # cargo-careful 0.3.4 and cargo-machete 0.5.0 do not support neither --version nor --help option.
cargo-*)
case "${tool}" in
cargo-valgrind) rx "${tool_bin}" "${tool#cargo-}" --help ;; # cargo-valgrind 2.1.0's --version option just calls cargo's --version option