| 
									
										
										
										
											2022-06-03 18:46:45 +08:00
										 |  |  | load("@rules_erlang//:xref2.bzl", "xref") | 
					
						
							| 
									
										
										
										
											2023-02-06 23:53:27 +08:00
										 |  |  | load("@rules_erlang//:dialyze.bzl", "dialyze", "plt") | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  | load( | 
					
						
							|  |  |  |     "//:rabbitmq.bzl", | 
					
						
							|  |  |  |     "RABBITMQ_DIALYZER_OPTS", | 
					
						
							| 
									
										
										
										
											2022-11-24 23:05:05 +08:00
										 |  |  |     "assert_suites", | 
					
						
							| 
									
										
										
										
											2022-01-06 03:57:48 +08:00
										 |  |  |     "rabbitmq_app", | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2021-05-07 22:51:15 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | 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 = [ | 
					
						
							| 
									
										
										
										
											2022-01-06 03:57:48 +08:00
										 |  |  |     "//deps/rabbit_common:erlang_app", | 
					
						
							|  |  |  |     "//deps/rabbit:erlang_app", | 
					
						
							|  |  |  |     "//deps/rabbitmq_web_dispatch:erlang_app", | 
					
						
							|  |  |  |     "//deps/rabbitmq_web_stomp:erlang_app", | 
					
						
							| 
									
										
										
										
											2021-05-07 22:51:15 +08:00
										 |  |  | ] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-06 03:57:48 +08:00
										 |  |  | rabbitmq_app( | 
					
						
							| 
									
										
										
										
											2021-05-07 22:51:15 +08:00
										 |  |  |     app_description = APP_DESCRIPTION, | 
					
						
							|  |  |  |     app_env = APP_ENV, | 
					
						
							|  |  |  |     app_module = APP_MODULE, | 
					
						
							|  |  |  |     app_name = APP_NAME, | 
					
						
							|  |  |  |     runtime_deps = RUNTIME_DEPS, | 
					
						
							|  |  |  | ) | 
					
						
							| 
									
										
										
										
											2021-05-25 17:39:03 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-05-17 20:07:16 +08:00
										 |  |  | xref() | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-06 23:53:27 +08:00
										 |  |  | plt( | 
					
						
							|  |  |  |     name = "base_plt", | 
					
						
							|  |  |  |     plt = "//:base_plt", | 
					
						
							|  |  |  |     deps = RUNTIME_DEPS, | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  | dialyze( | 
					
						
							|  |  |  |     dialyzer_opts = RABBITMQ_DIALYZER_OPTS, | 
					
						
							| 
									
										
										
										
											2023-02-06 23:53:27 +08:00
										 |  |  |     plt = ":base_plt", | 
					
						
							| 
									
										
										
										
											2021-06-01 16:19:10 +08:00
										 |  |  | ) | 
					
						
							| 
									
										
										
										
											2022-11-24 23:05:05 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | alias( | 
					
						
							|  |  |  |     name = "rabbitmq_web_stomp_examples", | 
					
						
							|  |  |  |     actual = ":erlang_app", | 
					
						
							|  |  |  |     visibility = ["//visibility:public"], | 
					
						
							|  |  |  | ) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | assert_suites() |