Mercurial
view third_party/emsdk/test/test_bazel.sh @ 279:b3b547563ec7
Add Google connector service and agent wiki
Implement the C/Seobeo Google Drive and Gmail connector with encrypted OAuth storage, Zenbu authentication, browser testing, AI tool discovery, chunked HTTP decoding, and Bazel coverage. Consolidate repository guidance into progressive wiki documentation and enforce arena-first allocation for new first-party C code.
Co-authored-by: Copilot <[email protected]>
Copilot-Session: 84c338fd-0939-4bb3-b7f3-1062eb213e5d
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Mon, 17 Aug 2026 22:22:36 -0700 |
| parents | 8d17f6e6e290 |
| children |
line wrap: on
line source
#!/usr/bin/env bash echo "test bazel" set -x set -e # Get the latest version number from emscripten-releases-tag.json. VER=$(scripts/get_release_info.py emscripten-releases-tags.json latest) # Based on the latest version number, get the commit hash for that version. HASH=$(scripts/get_release_info.py emscripten-releases-tags.json hash ${VER}) FAILMSG="!!! scripts/update_bazel_workspace.py needs to be run !!!" # Ensure the WORKSPACE file is up to date with the latest version. grep ${VER} bazel/revisions.bzl || (echo ${FAILMSG} && false) grep ${HASH} bazel/revisions.bzl || (echo ${FAILMSG} && false) grep ${VER} bazel/MODULE.bazel || (echo ${FAILMSG} && false) cd bazel bazel build //hello-world:hello-world-wasm bazel build //hello-world:hello-world-wasm-simd cd test_external bazel build //:hello-world-wasm bazel build //long_command_line:long_command_line_wasm bazel build //:hello-embind-wasm --compilation_mode dbg # debug # Test use of the closure compiler bazel build //:hello-embind-wasm --compilation_mode opt # release # This function should not be minified if the externs file is loaded correctly. grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js cd ../test_secondary_lto_cache bazel build //:hello-world-wasm