-
Notifications
You must be signed in to change notification settings - Fork 303
/
BUILD
100 lines (92 loc) · 2.42 KB
/
BUILD
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#
# Description: Blaze plugin for various IntelliJ products.
#
load(
"//:build-visibility.bzl",
"BAZEL_PLUGIN_SUBPACKAGES",
"DEFAULT_TEST_VISIBILITY",
"create_plugin_packages_group",
)
licenses(["notice"])
create_plugin_packages_group()
# Changelog file
filegroup(
name = "changelog",
srcs = ["CHANGELOG"],
visibility = BAZEL_PLUGIN_SUBPACKAGES,
)
# BEGIN-EXTERNAL
# IJwB tests, run with an IntelliJ plugin SDK
test_suite(
name = "ijwb_common_tests",
tests = [
"//base:integration_tests",
"//base:unit_tests",
"//dart:unit_tests",
"//ijwb:integration_tests",
"//ijwb:unit_tests",
"//java:integration_tests",
"//java:unit_tests",
"//kotlin:integration_tests",
"//kotlin:unit_tests",
"//plugin_dev:integration_tests",
"//scala:integration_tests",
"//scala:unit_tests",
"//skylark:unit_tests",
],
)
# CE-compatible IJwB tests
# UE supports python as well, but we use python-ce.jar for integration tests.
# Since 2019.3, python-ce.jar needs 'com.intellij.modules.python-core-capable',
# but UE only has 'com.intellij.modules.python-pro-capable' instead.
test_suite(
name = "ijwb_ce_tests",
tests = [
":ijwb_common_tests",
"//python:integration_tests",
"//python:unit_tests",
],
)
# UE-compatible IJwB tests
test_suite(
name = "ijwb_ue_tests",
tests = [
":ijwb_common_tests",
"//gazelle:integration_tests",
"//golang:integration_tests",
"//golang:unit_tests",
"//javascript:integration_tests",
"//javascript:unit_tests",
],
)
# CLwB tests, run with a CLion plugin SDK
test_suite(
name = "clwb_tests",
tests = [
"//base:unit_tests",
"//clwb:unit_tests",
"//clwb:integration_tests",
"//cpp:unit_tests",
"//dart:unit_tests",
"//python:unit_tests",
"//skylark:unit_tests",
],
)
# END-EXTERNAL
# ASwB tests, run with an Android Studio plugin SDK
test_suite(
name = "aswb_tests",
tests = [
"//aswb:integration_tests",
"//aswb:unit_tests",
"//base:integration_tests",
"//base:unit_tests",
"//cpp:integration_tests",
"//cpp:unit_tests",
"//dart:unit_tests",
"//java:integration_tests",
"//java:unit_tests",
"//skylark:unit_tests",
],
visibility = DEFAULT_TEST_VISIBILITY,
)