https://github.com/angular/angular
Raw File
Tip revision: 6d14fc52b9103b4fdbee8e4564c05fa599a90a1d authored by Dylan Hunn on 28 March 2024, 17:02:39 UTC
release: cut the v18.0.0-next.2 release
Tip revision: 6d14fc5
env.windows.sh
####################################################################################################
# Set bazel configuration for CircleCI runs.
####################################################################################################
cp "${PROJECT_ROOT}/.circleci/bazel.windows.rc" ".bazelrc.user";

# Override the `PATH` environment variable so that the windows-nvm NodeJS version
# always has precedence over potential existing NodeJS versions from the image.
setPublicVar PATH "/c/Program Files/nodejs/:$PATH"

# Expose the Bazelisk version. We need to run Bazelisk globally since Windows has problems launching
# Bazel from a node modules directoy that might be modified by the Bazel Yarn install then.
setPublicVar BAZELISK_VERSION \
    "$(cd ${PROJECT_ROOT}; node -p 'require("./package.json").devDependencies["@bazel/bazelisk"]')"
back to top