-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathBUILD.bazel
67 lines (63 loc) · 2.3 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
### auto-generated section `build intellij.phpstan` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "phpstan_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "phpstan",
module_name = "intellij.phpstan",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"//phpstorm/php:php-impl",
"@community//platform/core-api:core",
"@community//platform/analysis-impl",
"@community//platform/projectModel-api:projectModel",
"@community//platform/analysis-api:analysis",
"@community//platform/platform-api:ide",
"@community//platform/util/jdom",
"@lib//:gson",
"//phpstorm/php-frontback-openapi:php-frontback",
"@community//platform/core-impl",
"//phpstorm/phpstorm-remote-interpreter:php-remoteInterpreter",
"@community//platform/platform-impl:ide-impl",
"@community//platform/core-ui",
"//phpstorm/php-openapi:php",
"@community//platform/platform-util-io:ide-util-io",
],
runtime_deps = [":phpstan_resources"]
)
jvm_library(
name = "phpstan_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True),
associates = [":phpstan"],
deps = [
"//phpstorm/php:php-impl",
"//phpstorm/php:php-impl_test_lib",
"@community//platform/core-api:core",
"@community//platform/analysis-impl",
"@community//platform/projectModel-api:projectModel",
"@community//platform/analysis-api:analysis",
"@community//platform/platform-api:ide",
"@community//platform/util/jdom",
"@lib//:gson",
"//phpstorm/php-frontback-openapi:php-frontback",
"@community//platform/core-impl",
"//phpstorm/phpstorm-remote-interpreter:php-remoteInterpreter",
"//phpstorm/phpstorm-remote-interpreter:php-remoteInterpreter_test_lib",
"@community//platform/platform-impl:ide-impl",
"@community//platform/platform-impl:ide-impl_test_lib",
"@community//platform/core-ui",
"//phpstorm/php-openapi:php",
"@community//platform/platform-util-io:ide-util-io",
],
runtime_deps = [":phpstan_resources"]
)
jvm_test(
name = "phpstan_test",
runtime_deps = [":phpstan_test_lib"]
)
### auto-generated section `build intellij.phpstan` end