42 lines
759 B
Python
42 lines
759 B
Python
package(default_visibility = ["//visibility:public"])
|
|
|
|
load("//tools:defaults.bzl", "ts_library", "ts_web_test_suite")
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
|
|
|
|
ts_library(
|
|
name = "ivy_lib",
|
|
testonly = 1,
|
|
srcs = glob(["**/*.ts"]),
|
|
deps = [
|
|
"//packages:types",
|
|
"//packages/core",
|
|
],
|
|
)
|
|
|
|
ts_library(
|
|
name = "ivy_node_lib",
|
|
testonly = 1,
|
|
srcs = [],
|
|
deps = [
|
|
":ivy_lib",
|
|
"//packages/core/test/render3:domino",
|
|
],
|
|
)
|
|
|
|
jasmine_node_test(
|
|
name = "ivy",
|
|
bootstrap = [
|
|
"angular/packages/core/test/render3/load_domino",
|
|
],
|
|
deps = [
|
|
":ivy_node_lib",
|
|
],
|
|
)
|
|
|
|
ts_web_test_suite(
|
|
name = "ivy_web",
|
|
deps = [
|
|
":ivy_lib",
|
|
],
|
|
)
|