GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — angular/.bazelrc at master · gregorycode/angular Expand file tree/ Copy path.bazelrcMore file actions 176 lines (140 loc) · 7.36 KB / Copy path.bazelrcFile metadata and controls176 lines (140 loc) · 7.36 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 # Disable NG CLI TTY mode build --action_env=NG_FORCE_TTY=false # Enable debugging tests with --config=debug test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test_strategy=exclusive --test_timeout=9999 --nocache_test_results --strategy=TestRunner=standalone # Do not attempt to de-flake locally. # On CI we might set this to `3` to run with deflaking. test --flaky_test_attempts=1 # Required by `rules_ts`. common --@aspect_rules_ts//ts:skipLibCheck=always common --@aspect_rules_ts//ts:default_to_tsc_transpiler # Needed as otherwise `env` of TS actions would be ignored. common --incompatible_merge_fixed_and_default_shell_env # Frozen lockfile common --lockfile_mode=error ############################### # Filesystem interactions # ############################### # Create symlinks in the project: # - dist/bin for outputs # - dist/testlogs, dist/genfiles # - bazel-out # NB: bazel-out should be excluded from the editor configuration. # The checked-in /.vscode/settings.json does this for VSCode. # Other editors may require manual config to ignore this directory. # In the past, we say a problem where VSCode traversed a massive tree, opening file handles and # eventually a surprising failure with auto-discovery of the C++ toolchain in # MacOS High Sierra. # See https://github.com/bazelbuild/bazel/issues/4603 build --symlink_prefix=dist/ # Turn off legacy external runfiles build --nolegacy_external_runfiles run --nolegacy_external_runfiles test --nolegacy_external_runfiles # Turn on --incompatible_strict_action_env which was on by default # in Bazel 0.21.0 but turned off again in 0.22.0. Follow # https://github.com/bazelbuild/bazel/issues/7026 for more details. # This flag is needed to so that the bazel cache is not invalidated # when running bazel via `pnpm bazel`. # See https://github.com/angular/angular/issues/27514. build --incompatible_strict_action_env run --incompatible_strict_action_env test --incompatible_strict_action_env # Do not build runfile trees by default. If an execution strategy relies on runfile # symlink teee, the tree is created on-demand. See: https://github.com/bazelbuild/bazel/issues/6627 # and https://github.com/bazelbuild/bazel/commit/03246077f948f2790a83520e7dccc2625650e6df build --nobuild_runfile_links build --enable_runfiles ############################### # Release support # # Turn on these settings with # # --config=release # ############################### # Releases should always be stamped with version control info # This command assumes node on the path and is a workaround for # https://github.com/bazelbuild/bazel/issues/4802 build:release --workspace_status_command="pnpm --silent ng-dev release build-env-stamp --mode=release" build:release --stamp # Snapshots should also be stamped with version control information. build:snapshot-build --workspace_status_command="pnpm --silent ng-dev release build-env-stamp --mode=snapshot" build:snapshot-build --stamp # @angular/language-server package depends directly on other Angular framework packages. # This flag ensures that the language server uses the snapshot-built framework packages from the repository. build:snapshot-build --//:enable_language_server_snapshot_repo_deps # Angular DevTools for Firefox releases *cannot* be stamped and `--config snapshot-build-firefox` is a no-op. # This is because Mozilla requires add-on source code to be uploaded and then they manually reproduce the build. # If we stamp the build based on Git information such as the current commit, then reproducing the build would require # uploading the entire `.git` directory. We already must upload the entire monorepo, and uploading `.git` as well # exceeds the max source file size. To address this, we just *don't* stamp Firefox builds of Angular DevTools. build:snapshot-build-firefox --nostamp ############################### # Output # ############################### # A more useful default output mode for bazel query # Prints eg. "ng_module rule //foo:bar" rather than just "//foo:bar" query --output=label_kind # By default, failing tests don't print any output, it goes to the log file test --test_output=errors ################################## # Remote Build Execution support # # Turn on these settings with # # --config=remote # ################################## # The following --define=EXECUTOR=remote will be able to be removed # once https://github.com/bazelbuild/bazel/issues/7254 is fixed build:remote --define=EXECUTOR=remote # Set a higher timeout value, just in case. build:remote --remote_timeout=600 # Bazel detects maximum number of jobs based on host resources. # Since we run remotely, we can increase this number significantly. common:remote --jobs=200 build:remote --google_default_credentials # Force remote exeuctions to consider the entire run as linux build:remote --cpu=k8 build:remote --host_cpu=k8 # Toolchain and platform related flags build:remote --extra_execution_platforms=@devinfra//bazel/remote-execution:platform_with_network build:remote --host_platform=@devinfra//bazel/remote-execution:platform_with_network build:remote --platforms=@devinfra//bazel/remote-execution:platform_with_network # Remote instance and caching build:remote --remote_instance_name=projects/internal-200822/instances/primary_instance build:remote --bes_instance_name=internal-200822 build:remote --remote_cache=remotebuildexecution.googleapis.com build:remote --remote_executor=remotebuildexecution.googleapis.com build:remote --remote_upload_local_results=false build:remote --remote_grpc_log=/tmp/rbe-grpc.log # See: https://docs.google.com/document/d/1NgDPsCIwprDdqC1zj0qQrh5KGK2hQTSTux1DAvi4rSc/edit?tab=t.0. build:remote --experimental_remote_execution_keepalive # Use HTTP remote cache build:remote-cache --remote_cache=https://storage.googleapis.com/angular-team-cache build:remote-cache --remote_accept_cached=true build:remote-cache --remote_upload_local_results=false build:remote-cache --google_default_credentials # Additional flags added when running a "trusted build" with additional access build:trusted-build --remote_upload_local_results=true # Ensure that tags like "no-remote-exec" get propagated to actions created by rules, # even if the rule implementation does not explicitly pass them to the execution requirements. # https://bazel.build/reference/command-line-reference#flag--experimental_allow_tags_propagation common --incompatible_allow_tags_propagation # Disable network access in the sandbox by default. To enable network access # for a particular target, use: # # load("@devinfra//bazel/remote-execution:index.bzl", "ENABLE_NETWORK") # my_target( # ..., # exec_properties = ENABLE_NETWORK, # Enables network in remote exec # tags = ["requires-network"] # Enables network in sandbox # ) build --nosandbox_default_allow_network ################ # Flag Aliases # ################ # --ng_perf will ask the Ivy compiler to produce performance results for each build. build --flag_alias=ng_perf=//packages/compiler-cli:ng_perf #################################################### # User bazel configuration # NOTE: This needs to be the *last* entry in the config. #################################################### # Load any settings which are specific to the current user. Needs to be *last* statement # in this config, as the user configuration should be able to overwrite flags from this file. try-import %workspace%/.bazelrc.user |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |