mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
This reverts commit c9de7daae4.
Causes CI failures. PR was not meant to be merged (merge label was
supposed to be removed)
PR Close #40395
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
Users should not load files under "/src"
|
||||
"""
|
||||
|
||||
load("//packages/bazel/src/ng_package:ng_package.bzl", _ng_package = "ng_package_macro")
|
||||
load("//packages/bazel/src/ng_package:ng_package.bzl", _ng_package = "ng_package")
|
||||
load("//packages/bazel/src:ng_module.bzl", _ng_module = "ng_module_macro")
|
||||
|
||||
ng_module = _ng_module
|
||||
|
||||
@@ -811,23 +811,3 @@ ng_package = rule(
|
||||
"""
|
||||
ng_package produces an npm-ready package from an Angular library.
|
||||
"""
|
||||
|
||||
def ng_package_macro(name, **kwargs):
|
||||
ng_package(
|
||||
name = name,
|
||||
**kwargs
|
||||
)
|
||||
native.alias(
|
||||
name = name + ".pack",
|
||||
actual = select({
|
||||
"@bazel_tools//src/conditions:host_windows": name + ".pack.bat",
|
||||
"//conditions:default": name + ".pack.sh",
|
||||
}),
|
||||
)
|
||||
native.alias(
|
||||
name = name + ".publish",
|
||||
actual = select({
|
||||
"@bazel_tools//src/conditions:host_windows": name + ".publish.bat",
|
||||
"//conditions:default": name + ".publish.sh",
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user