mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: make bazel integrations compatible with windows (#43431)
The bazel integration tests are currently not compatible with Windows. Tests never get to run because the created tar packages for NPM packages are built using an outdated `pkg_tar` rule that creates invalid tarballs. We fix this by using the non-deprecated windows-compatible `rules_pkg` implementation. Additionally, we copy all `package.json` files of integration tests to the bazel bin directory as otherwise the file would be accidentally modified as a source on Windows. PR Close #43431
This commit is contained in:
committed by
Dylan Hunn
parent
0c7ceb99fb
commit
a274de088a
+1
-1
@@ -1,6 +1,6 @@
|
||||
"""Re-export of some bazel rules with repository-wide defaults."""
|
||||
|
||||
load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")
|
||||
load("@rules_pkg//:pkg.bzl", "pkg_tar")
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", _nodejs_binary = "nodejs_binary", _pkg_npm = "pkg_npm")
|
||||
load("@npm//@bazel/jasmine:index.bzl", _jasmine_node_test = "jasmine_node_test")
|
||||
load("@npm//@bazel/concatjs:index.bzl", _concatjs_devserver = "concatjs_devserver", _karma_web_test = "karma_web_test", _karma_web_test_suite = "karma_web_test_suite")
|
||||
|
||||
Reference in New Issue
Block a user