diff options
author | Eric <[email protected]> | 2013-01-04 10:33:54 -0500 |
---|---|---|
committer | Eric <[email protected]> | 2013-01-04 10:52:19 -0500 |
commit | 3a5cb6adf215e760068c9d3e7a07eb4f971cabf0 (patch) | |
tree | 718eb042995b56fd2145c0d7a932d1aecd53e0d5 /src/relcool.erl | |
parent | 344fa86b23205eebc3233cf9c69a8e9e145714ac (diff) | |
download | relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.tar.gz relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.tar.bz2 relx-3a5cb6adf215e760068c9d3e7a07eb4f971cabf0.zip |
provide the erlang lib dir and cwd as working libraries
This happens for every call unless the user passes
--disable-default-libs to relcool or {disable_default_libs, true} in
the relcool config.
Diffstat (limited to 'src/relcool.erl')
-rw-r--r-- | src/relcool.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/relcool.erl b/src/relcool.erl index 9fb9240..a6b30a3 100644 --- a/src/relcool.erl +++ b/src/relcool.erl @@ -113,8 +113,7 @@ do(RootDir, RelName, RelVsn, Goals, LibDirs, LogLevel, OutputDir, Overrides, Con -spec opt_spec_list() -> [getopt:option_spec()]. opt_spec_list() -> - [ - {relname, $n, "relname", string, + [{relname, $n, "relname", string, "Specify the name for the release that will be generated"}, {relvsn, $v, "relvsn", string, "Specify the version for the release"}, {goals, $g, "goal", string, @@ -123,6 +122,9 @@ opt_spec_list() -> "The output directory for the release. This is `./` by default."}, {lib_dir, $l, "lib-dir", string, "Additional dirs that should be searched for OTP Apps"}, + {disable_default_libs, undefined, "disable-default-libs", + {boolean, false}, + "Disable the default system added lib dirs (means you must add them all manually"}, {log_level, $V, "verbose", {integer, 0}, "Verbosity level, maybe between 0 and 2"}, {root_dir, $r, "root", string, "The project root directory"}]. |