55 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
			
		
		
	
	
			55 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Python
		
	
	
	
| load("@rules_erlang//:xref2.bzl", "xref")
 | |
| load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
 | |
| load(
 | |
|     "//:rabbitmq.bzl",
 | |
|     "RABBITMQ_DIALYZER_OPTS",
 | |
|     "assert_suites",
 | |
|     "rabbitmq_app",
 | |
| )
 | |
| 
 | |
| APP_NAME = "rabbitmq_web_stomp_examples"
 | |
| 
 | |
| APP_DESCRIPTION = "Rabbit WEB-STOMP - examples"
 | |
| 
 | |
| APP_MODULE = "rabbit_web_stomp_examples_app"
 | |
| 
 | |
| APP_ENV = """[
 | |
| 	    {listener, [{port, 15670}]}
 | |
| 	  ]"""
 | |
| 
 | |
| RUNTIME_DEPS = [
 | |
|     "//deps/rabbit_common:erlang_app",
 | |
|     "//deps/rabbit:erlang_app",
 | |
|     "//deps/rabbitmq_web_dispatch:erlang_app",
 | |
|     "//deps/rabbitmq_web_stomp:erlang_app",
 | |
| ]
 | |
| 
 | |
| rabbitmq_app(
 | |
|     app_description = APP_DESCRIPTION,
 | |
|     app_env = APP_ENV,
 | |
|     app_module = APP_MODULE,
 | |
|     app_name = APP_NAME,
 | |
|     runtime_deps = RUNTIME_DEPS,
 | |
| )
 | |
| 
 | |
| xref()
 | |
| 
 | |
| plt(
 | |
|     name = "base_plt",
 | |
|     plt = "//:base_plt",
 | |
|     deps = RUNTIME_DEPS,
 | |
| )
 | |
| 
 | |
| dialyze(
 | |
|     dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
 | |
|     plt = ":base_plt",
 | |
| )
 | |
| 
 | |
| alias(
 | |
|     name = "rabbitmq_web_stomp_examples",
 | |
|     actual = ":erlang_app",
 | |
|     visibility = ["//visibility:public"],
 | |
| )
 | |
| 
 | |
| assert_suites()
 |