Skip to content

Commit a6d7865

Browse files
committed
build: allow for @devinfra repository to be used directly
This allows e.g. the CLI repository to directly fetch the dev-infra repository and leverage it for e.g. the RBE toolchains, browser toolchain, or git toolchain. More to follow.
1 parent b015169 commit a6d7865

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workspace(
2-
name = "dev-infra",
2+
name = "devinfra",
33
managed_directories = {"@npm": ["node_modules"]},
44
)
55

bazel/browsers/browser_archive_repo.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def _browser_archive_impl(ctx):
2727
# `BUILD.bazel` file that exposes the archive files, together with the specified
2828
# named files using the `browser_configure` rule.
2929
ctx.file("BUILD.bazel", content = """
30-
load("@dev-infra//bazel/browsers:browser_configure.bzl", "browser_configure")
30+
load("@devinfra//bazel/browsers:browser_configure.bzl", "browser_configure")
3131
3232
licenses(%s)
3333

package.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ noStampSubstitutions = dict(stampSubstitutions, **{})
99
basePackageSubstitutions = {
1010
"(#|//)\\s+BEGIN-DEV-ONLY[\\w\\W]+?(#|//)\\s+END-DEV-ONLY": "",
1111
" \"prepare\": \"husky\",\n": "",
12-
"@dev-infra//bazel/": "@npm//@angular/build-tooling/bazel/",
12+
"@devinfra//bazel/": "@npm//@angular/build-tooling/bazel/",
1313
"rlocation \"dev-infra/": "rlocation \"npm/@angular/build-tooling/",
1414
"//bazel/": "@npm//@angular/build-tooling/bazel/",
1515
"//bazel:": "@npm//@angular/build-tooling/bazel:",

0 commit comments

Comments
 (0)