MCPcopy
hub / github.com/formatjs/formatjs / setBazelBinPaths

Function setBazelBinPaths

benchmarks/cli-comparison/benchmark-tinybench.mjs:20–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18let TEST_FILES_DIR, TS_CLI, RUST_CLI
19
20function setBazelBinPaths() {
21 const BAZEL_BIN = path.join(WORKSPACE_DIR, 'bazel-bin')
22 TEST_FILES_DIR = path.join(BAZEL_BIN, 'benchmarks/cli-comparison/test-files')
23 TS_CLI = path.join(BAZEL_BIN, 'packages/cli/bin/formatjs')
24 RUST_CLI = path.join(BAZEL_BIN, 'crates/formatjs_cli/formatjs_cli')
25}
26
27try {
28 // Try importing @bazel/runfiles for proper Bazel sandbox support

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected