build(language-service): make test project a filegroup (#36865)
This commit makes the test project a filegroup so that it could be shared with the Ivy tests. Also removed `project/foo.ts` since it is no longer used. PR Close #36865
This commit is contained in:
parent
95a407d9dd
commit
12fcc7cafe
@ -30,7 +30,7 @@ ts_library(
|
|||||||
"diagnostics_spec.ts",
|
"diagnostics_spec.ts",
|
||||||
"hover_spec.ts",
|
"hover_spec.ts",
|
||||||
],
|
],
|
||||||
data = glob(["project/**/*"]),
|
data = [":project"],
|
||||||
deps = [
|
deps = [
|
||||||
":test_utils_lib",
|
":test_utils_lib",
|
||||||
"//packages/language-service",
|
"//packages/language-service",
|
||||||
@ -51,7 +51,7 @@ ts_library(
|
|||||||
"typescript_host_spec.ts",
|
"typescript_host_spec.ts",
|
||||||
"utils_spec.ts",
|
"utils_spec.ts",
|
||||||
],
|
],
|
||||||
data = glob(["project/**/*"]),
|
data = [":project"],
|
||||||
deps = [
|
deps = [
|
||||||
":test_utils_lib",
|
":test_utils_lib",
|
||||||
"//packages/compiler",
|
"//packages/compiler",
|
||||||
@ -60,6 +60,12 @@ ts_library(
|
|||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
filegroup(
|
||||||
|
name = "project",
|
||||||
|
srcs = glob(["project/**/*"]),
|
||||||
|
visibility = ["//packages/language-service:__subpackages__"],
|
||||||
|
)
|
||||||
|
|
||||||
jasmine_node_test(
|
jasmine_node_test(
|
||||||
name = "test",
|
name = "test",
|
||||||
data = [
|
data = [
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
/**
|
|
||||||
* @license
|
|
||||||
* Copyright Google Inc. All Rights Reserved.
|
|
||||||
*
|
|
||||||
* Use of this source code is governed by an MIT-style license that can be
|
|
||||||
* found in the LICENSE file at https://angular.io/license
|
|
||||||
*/
|
|
||||||
|
|
||||||
export * from './app/app.component';
|
|
Loading…
x
Reference in New Issue
Block a user