mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
9a27c4cb50
The existing scripts were amended to work on one example at a time
22 lines
642 B
Python
22 lines
642 B
Python
load("//aio/content/examples:examples.bzl", "EXAMPLES")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
filegroup(
|
|
name = "examples",
|
|
srcs = glob(
|
|
["**"],
|
|
exclude = ["BUILD.bazel"],
|
|
) + ["//aio/content/examples/%s:files" % example for example in EXAMPLES.keys()],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-stackblitz",
|
|
srcs = ["//aio/content/examples/%s:stackblitz" % example for example in EXAMPLES.keys() if EXAMPLES[example]["stackblitz"]],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-example-zips",
|
|
srcs = ["//aio/content/examples/%s:example-zip" % example for example in EXAMPLES.keys() if EXAMPLES[example]["zip"]],
|
|
)
|