mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: test cdk with bazel (#13575)
* build: test cdk with bazel * Add comment for bazel tsconfig files * CDK tsconfig sync with Bazel build tsconfig
This commit is contained in:
committed by
Andrew Seguin
parent
85f04db62a
commit
d128fffcd6
@@ -82,3 +82,18 @@ rules_angular_dependencies()
|
||||
# Setup Angular workspace for building (Bazel managed node modules)
|
||||
load("@angular//:index.bzl", "ng_setup_workspace")
|
||||
ng_setup_workspace()
|
||||
|
||||
# Setup Go toolchain (required for Bazel web testing rules)
|
||||
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")
|
||||
go_rules_dependencies()
|
||||
go_register_toolchains()
|
||||
|
||||
# Setup web testing. We need to setup a browser because the web testing rules for TypeScript need
|
||||
# a reference to a registered browser (ideally that's a hermetic version of a browser)
|
||||
load("@io_bazel_rules_webtesting//web:repositories.bzl", "browser_repositories",
|
||||
"web_test_repositories")
|
||||
|
||||
web_test_repositories()
|
||||
browser_repositories(
|
||||
chromium = True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user