2
2
{deps , [
3
3
{amqp_client , " 3.12.2" },
4
4
{uuid , {git , " https://github.com/okeuday/uuid.git" , {tag , " v2.0.7" }}}
5
+ ]}.
6
+
7
+ {plugins , [rebar_alias ]}.
8
+
9
+ {alias , [
10
+ {send , [compile , {shell ,
11
+ " --eval 'send:start(), init:stop().'" }]},
12
+ {recv , [compile , {shell ,
13
+ " --eval 'recv:start(), init:stop().'" }]},
14
+ {new_task , [compile , {shell ,
15
+ " --eval 'new_task:start([\" A very hard task which takes two seconds\" ]), init:stop().'" }]},
16
+ {worker , [compile , {shell ,
17
+ " --eval 'worker:start(), init:stop().'" }]},
18
+ {receive_logs , [compile ,
19
+ {shell , " --eval 'receive_logs:start(), init:stop().'" }]},
20
+ {emit_log , [compile , {shell ,
21
+ " --eval 'emit_log:start([\" Info: This is the log message\" ]), init:stop().'" }]},
22
+ {receive_logs_direct , [compile , {shell ,
23
+ " --eval 'receive_logs_direct:start([\" Info\" ]), init:stop().'" }]},
24
+ {emit_log_direct , [compile , {shell ,
25
+ " --eval 'emit_log_direct:start([\" Info\" , \" Hello\" ]), init:stop().'" }]},
26
+ {receive_logs_topic , [compile , {shell ,
27
+ " --eval 'receive_logs_topic:start([\" *.rabbit\" ]), init:stop().'" }]},
28
+ {emit_log_topic , [compile , {shell ,
29
+ " --eval 'emit_log_topic:start([\" red.rabbit\" , \" Hello\" ]), init:stop().'" }]},
30
+ {rpc_server , [compile , {shell ,
31
+ " --eval 'rpc_server:start(), init:stop().'" }]},
32
+ {rpc_client , [compile , {shell ,
33
+ " --eval 'rpc_client:start([\" 10\" ]), init:stop().'" }]}
5
34
]}.
0 commit comments