-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathBUILD.bazel
53 lines (42 loc) · 1014 Bytes
/
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
load("@rules_erlang//:erlang_app.bzl", "erlang_app", "test_erlang_app")
load("@rules_erlang//:xref.bzl", "xref")
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
load("@rules_erlang//:ct.bzl", "assert_suites", "ct_suite")
NAME = "inet_tcp_proxy_dist"
DESCRIPTION = "Erlang distribution proxy to simulate network failures"
VERSION = "0.1.0"
erlang_app(
app_description = DESCRIPTION,
app_name = NAME,
app_version = VERSION,
)
test_erlang_app(
app_description = DESCRIPTION,
app_name = NAME,
app_version = VERSION,
)
xref()
plt(name = "base_plt")
dialyze(
plt = ":base_plt",
)
suites = [
ct_suite(
name = "proxy_dist_SUITE",
additional_hdrs = [
"test/proxy_dist_test_lib.hrl",
],
additional_srcs = [
"test/proxy_dist_test_lib.erl",
],
),
]
assert_suites(
suites,
glob(["test/**/*_SUITE.erl"]),
)
alias(
name = NAME,
actual = ":erlang_app",
visibility = ["//visibility:public"],
)