mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ci: add a script to copy cdk api files to adev (#61081)
Refactors the update-cli-help script into a generic script to copy json assets, and uses the shared code to also copy the CDK apis PR Close #61081
This commit is contained in:
committed by
Andrew Kushnir
parent
88858118ea
commit
8828a84ecf
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"branchName": "refs/heads/main",
|
||||
"sha": "9500b84652d34db69e545a1b24b2728ea86f0328"
|
||||
}
|
||||
@@ -9,6 +9,6 @@ filegroup(
|
||||
],
|
||||
) + [
|
||||
"//adev/src/content/cli/help",
|
||||
"//adev/src/content/cli/help:build-info.json",
|
||||
"//adev/src/content/cli/help:_build-info.json",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -2,16 +2,15 @@ load("//adev/shared-docs/pipeline/api-gen/rendering:render_api_to_html.bzl", "re
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
exports_files(["build-info.json"])
|
||||
exports_files(["_build-info.json"])
|
||||
|
||||
filegroup(
|
||||
name = "help",
|
||||
srcs = glob(
|
||||
["*"],
|
||||
["*.json"],
|
||||
exclude = [
|
||||
# Exlucde build-info.json as it is not a help entry.
|
||||
"build-info.json",
|
||||
"BUILD.bazel",
|
||||
# Exlucde _build-info.json as it is not a help entry.
|
||||
"_*.json",
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user