Skip to content

Commit 1399151

Browse files
committed
Add rabbitmq_web_stomp_examples to bazel
1 parent f543a37 commit 1399151

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
load(
2+
"//:rabbitmq.bzl",
3+
"APP_VERSION",
4+
"RABBITMQ_ERLC_OPTS",
5+
"RABBITMQ_TEST_ERLC_OPTS",
6+
"rabbitmq_lib",
7+
)
8+
9+
APP_NAME = "rabbitmq_web_stomp_examples"
10+
11+
APP_DESCRIPTION = "Rabbit WEB-STOMP - examples"
12+
13+
APP_MODULE = "rabbit_web_stomp_examples_app"
14+
15+
APP_ENV = """[
16+
{listener, [{port, 15670}]}
17+
]"""
18+
19+
RUNTIME_DEPS = [
20+
"//deps/rabbit_common:bazel_erlang_lib",
21+
"//deps/rabbit:bazel_erlang_lib",
22+
"//deps/rabbitmq_web_dispatch:bazel_erlang_lib",
23+
"//deps/rabbitmq_web_stomp:bazel_erlang_lib",
24+
]
25+
26+
rabbitmq_lib(
27+
app_description = APP_DESCRIPTION,
28+
app_env = APP_ENV,
29+
app_module = APP_MODULE,
30+
app_name = APP_NAME,
31+
app_version = APP_VERSION,
32+
erlc_opts = RABBITMQ_ERLC_OPTS,
33+
test_erlc_opts = RABBITMQ_TEST_ERLC_OPTS,
34+
runtime_deps = RUNTIME_DEPS,
35+
)

0 commit comments

Comments
 (0)