summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdev/run6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev/run b/dev/run
index 476ec3682..7af718afa 100755
--- a/dev/run
+++ b/dev/run
@@ -190,7 +190,7 @@ def get_args_parser():
"--erlang-config",
dest="erlang_config",
default="rel/files/sys.config",
- help="Specify an alternative Erlang application configuration"
+ help="Specify an alternative Erlang application configuration",
)
parser.add_option(
"--degrade-cluster",
@@ -275,6 +275,7 @@ def check_beams(ctx):
for fname in glob.glob(os.path.join(ctx["devdir"], "*.erl")):
sp.check_call(["erlc", "-o", ctx["devdir"] + os.sep, fname])
+
@log("Ensure Erlang boot script exists")
def check_boot_script(ctx):
if not os.path.exists(os.path.join(ctx["devdir"], "devnode.boot")):
@@ -282,6 +283,7 @@ def check_boot_script(ctx):
env["ERL_LIBS"] = os.path.join(ctx["rootdir"], "src")
sp.check_call(["escript", "make_boot_script"], env=env, cwd=ctx["devdir"])
+
@log("Prepare configuration files")
def setup_configs(ctx):
for idx, node in enumerate(ctx["nodes"]):
@@ -631,7 +633,7 @@ def boot_node(ctx, node):
os.path.join(ctx["devdir"], "devnode"),
"-pa",
ctx["devdir"],
- "-s monitor_parent"
+ "-s monitor_parent",
]
if ctx["reset_logs"]:
mode = "wb"