aboutsummaryrefslogtreecommitdiffstats
path: root/src/relx.erl
diff options
context:
space:
mode:
authorEric <[email protected]>2013-10-15 10:28:20 -0700
committerEric <[email protected]>2013-10-15 13:22:24 -0700
commit51b7508737fd7668d000781c6502361e132cbbc4 (patch)
tree395c66c9be2e2b2c0f092ad4e445133a0c3897d2 /src/relx.erl
parenta54bb2bd0c8f540a7bed3b3aa7e6732b131d7bb4 (diff)
downloadrelx-51b7508737fd7668d000781c6502361e132cbbc4.tar.gz
relx-51b7508737fd7668d000781c6502361e132cbbc4.tar.bz2
relx-51b7508737fd7668d000781c6502361e132cbbc4.zip
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.
Diffstat (limited to 'src/relx.erl')
-rw-r--r--src/relx.erl2
1 files changed, 2 insertions, 0 deletions
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 <appname>:<app directory>"},
{config, $c, "config", {string, ""}, "The path to a config file"},