Download next.js/scripts/cargo/bench/list-crates-with-bench.sh from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/scripts/cargo/bench/list-crates-with-bench.sh
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/scripts/cargo/bench/list-crates-with-bench.sh
-
curl -L -o list-crates-with-bench.sh https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/scripts/cargo/bench/list-crates-with-bench.sh
335 Bytes
| set -eu | |
| SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | |
| WS_CRATES="$("$SCRIPT_DIR"/get-workspace-crates.sh)" | |
| echo "$WS_CRATES" | jq -r -c '[.[] | select(.targets[] | .kind | contains(["bench"])) | .name] | sort | unique' | jq -r -c '[.[] | select(. != "napi" and . != "wasm")]' | |