27 lines
488 B
Python
27 lines
488 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "npm_package", "ts_library")
|
|
|
|
exports_files([
|
|
"package.json",
|
|
"collection.json",
|
|
])
|
|
|
|
genrule(
|
|
name = "collection",
|
|
srcs = ["collection.json"],
|
|
outs = ["test-collection.json"],
|
|
cmd = "cp $< $@",
|
|
output_to_bindir = 1,
|
|
)
|
|
|
|
npm_package(
|
|
name = "npm_package",
|
|
srcs = [
|
|
"collection.json",
|
|
],
|
|
deps = [
|
|
"//packages/elements/schematics/ng-add",
|
|
],
|
|
)
|