Skip to content

Commit fcd63c4

Browse files
committed
fixup! refactor: move rules_angular into repo
1 parent 9ce1f54 commit fcd63c4

3 files changed

Lines changed: 806 additions & 110 deletions

File tree

bazel/rules/rules_angular/.bazelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ build --flag_alias=partial_compilation=//src/ng_project/config:partial_compilati
33

44
import ../../../.bazelrc
55

6+
# Toolchain and platform related flags
7+
build:remote --extra_execution_platforms=@devinfra//bazel/remote-execution:platform_with_network
8+
build:remote --host_platform=@devinfra//bazel/remote-execution:platform_with_network
9+
build:remote --platforms=@devinfra//bazel/remote-execution:platform_with_network
10+
611
####################################################
712
# User bazel configuration
813
# NOTE: This needs to be the *last* entry in the config to allow for it to override other

bazel/rules/rules_angular/MODULE.bazel

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,27 @@ bazel_dep(name = "bazel_skylib", version = "1.8.1")
88
bazel_dep(name = "jq.bzl", version = "0.1.0")
99
bazel_dep(name = "rules_nodejs", version = "6.5.0")
1010

11+
# Dev dependencies
12+
bazel_dep(name = "rules_browsers", dev_dependency = True)
13+
git_override(
14+
module_name = "rules_browsers",
15+
commit = "7043f918640169063a6281ab4afb61389a0aad6d",
16+
remote = "https://github.com/angular/rules_browsers.git",
17+
)
18+
19+
bazel_dep(name = "rules_sass", dev_dependency = True)
20+
git_override(
21+
module_name = "rules_sass",
22+
commit = "781c41bf7a48147bb20103e250f7215475e915a1",
23+
remote = "https://github.com/angular/rules_sass.git",
24+
)
25+
26+
bazel_dep(name = "devinfra", dev_dependency = True)
27+
local_path_override(
28+
module_name = "devinfra",
29+
path = "../../../",
30+
)
31+
1132
yq = use_extension("@yq.bzl//yq:extensions.bzl", "yq")
1233
use_repo(yq, "yq_toolchains")
1334

0 commit comments

Comments
 (0)