-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.rbtrc
38 lines (33 loc) · 1.89 KB
/
.rbtrc
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
########################################################################
# To expand flags or positional arguments for a specific subcommand #
# you can include a line such as: #
# #
# subcommand --flag1 --flag2=value argument #
# #
# You can also include one flag or argument per line: #
# #
# subcommand --flag1 #
# subcommand --flag2=value #
# subcommand argument #
# #
# To only expand flags or arguments if a specific config is used with #
# a subcommand include lines that include 'subcommand:config', for #
# example: #
# #
# subcommand:use-foo --flag3=foo #
# #
# Then you can expand that config on the command line via: #
# #
# rbt subcommand --config=use-foo` #
########################################################################
# Find '.proto' files in 'api/'.
protoc api/
# Tell `rbt protoc` where to put generated files.
protoc --nodejs=api
protoc --react=api
# Tell `rbt` that this is a Node.js application.
dev run --nodejs
# Save state between chaos restarts.
dev run --name=app
# Run the application!
dev run --application=backend/src/main.ts