2019-01-22 12:46:51 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_test")
|
|
|
|
load("//tools:defaults.bzl", "nodejs_binary")
|
|
|
|
|
|
|
|
nodejs_binary(
|
|
|
|
name = "ngc_bin",
|
|
|
|
data = [
|
|
|
|
"//packages/compiler-cli",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//chokidar",
|
|
|
|
"@npm//reflect-metadata",
|
2019-01-22 12:46:51 -05:00
|
|
|
],
|
2019-06-07 16:38:06 -04:00
|
|
|
entry_point = "//packages/compiler-cli:src/main.ts",
|
2019-01-22 12:46:51 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
nodejs_binary(
|
|
|
|
name = "ng_xi18n",
|
|
|
|
data = [
|
|
|
|
"//packages/compiler-cli",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//chokidar",
|
|
|
|
"@npm//reflect-metadata",
|
2019-01-22 12:46:51 -05:00
|
|
|
],
|
2019-06-07 16:38:06 -04:00
|
|
|
entry_point = "//packages/compiler-cli:src/extract_i18n.ts",
|
2019-01-22 12:46:51 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
nodejs_test(
|
|
|
|
name = "integrationtest",
|
|
|
|
data = [
|
|
|
|
":ngc_bin",
|
|
|
|
":ng_xi18n",
|
|
|
|
"@nodejs//:node",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//domino",
|
|
|
|
"@npm//chokidar",
|
|
|
|
"@npm//source-map-support",
|
|
|
|
"@npm//shelljs",
|
|
|
|
"@npm//typescript",
|
|
|
|
"@npm//reflect-metadata",
|
|
|
|
"@npm//rxjs",
|
|
|
|
"@npm//tslib",
|
|
|
|
"@npm//jasmine/bin:jasmine",
|
|
|
|
"@npm//zone.js",
|
|
|
|
"@npm//xhr2",
|
|
|
|
"@npm//@types/node",
|
|
|
|
"@npm//@types/jasmine",
|
2019-01-22 12:46:51 -05:00
|
|
|
"//packages/animations:npm_package",
|
|
|
|
"//packages/common:npm_package",
|
|
|
|
"//packages/compiler:npm_package",
|
|
|
|
"//packages/compiler-cli:npm_package",
|
|
|
|
"//packages/core:npm_package",
|
|
|
|
"//packages/forms:npm_package",
|
|
|
|
"//packages/http:npm_package",
|
|
|
|
"//packages/platform-browser:npm_package",
|
|
|
|
"//packages/platform-browser-dynamic:npm_package",
|
|
|
|
"//packages/platform-server:npm_package",
|
|
|
|
"//packages/router:npm_package",
|
|
|
|
] + glob(["**/*"]),
|
2019-06-25 16:11:53 -04:00
|
|
|
entry_point = "//packages/compiler-cli/integrationtest:test.ts",
|
2019-01-22 12:46:51 -05:00
|
|
|
tags = ["no-ivy-aot"],
|
|
|
|
)
|