From 51b7508737fd7668d000781c6502361e132cbbc4 Mon Sep 17 00:00:00 2001 From: Eric Date: Tue, 15 Oct 2013 10:28:20 -0700 Subject: add a dev mode that symlinks the release instead of copying it This should only ever be used for development, however it makes it very, very nice to be able to simple recompile a project without recopying it to try new things. --- src/relx.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/relx.erl') diff --git a/src/relx.erl b/src/relx.erl index 6306559..d61f426 100644 --- a/src/relx.erl +++ b/src/relx.erl @@ -197,6 +197,8 @@ opt_spec_list() -> "Whether to use the default system added lib dirs (means you must add them all manually). Default is true"}, {log_level, $V, "verbose", {integer, 2}, "Verbosity level, maybe between 0 and 3"}, + {dev_mode, $d, "dev-mode", {boolean, false}, + "Symlink the applications and configuration into the release instead of copying"}, {override_app, $a, "override_app", string, "Provide an app name and a directory to override in the form :"}, {config, $c, "config", {string, ""}, "The path to a config file"}, -- cgit v1.2.3