aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/src/reltool.hrl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2012-03-21 19:35:17 +0100
committerSiri Hansen <[email protected]>2012-03-22 08:46:30 +0100
commit602d96340b97315c156b597a5ccbfcc135a9a682 (patch)
tree160273a3c55e7a5445cfc1a7ec2bcd956e888116 /lib/reltool/src/reltool.hrl
parent33e42a694e0ddd8a6c02bfe6c04298ca95aa938a (diff)
downloadotp-602d96340b97315c156b597a5ccbfcc135a9a682.tar.gz
otp-602d96340b97315c156b597a5ccbfcc135a9a682.tar.bz2
otp-602d96340b97315c156b597a5ccbfcc135a9a682.zip
[reltool] Add configuration parameter lib_dir on application level
As a way of specifying one specific version of an application, the following configuration parameter is added on application level: {lib_dir,Dir}, Dir = string() This can be useful if the parent directory of the application directory is not suitable to use as a lib dir on system level.
Diffstat (limited to 'lib/reltool/src/reltool.hrl')
-rw-r--r--lib/reltool/src/reltool.hrl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/reltool/src/reltool.hrl b/lib/reltool/src/reltool.hrl
index 4e5c5b2849..71d3b60a2b 100644
--- a/lib/reltool/src/reltool.hrl
+++ b/lib/reltool/src/reltool.hrl
@@ -63,6 +63,7 @@
-type mod() :: {incl_cond, incl_cond()}
| {debug_info, debug_info()}.
-type app() :: {vsn, app_vsn()}
+ | {lib_dir, lib_dir()}
| {mod, mod_name(), [mod()]}
| {mod_cond, mod_cond()}
| {incl_cond, incl_cond()}
@@ -169,7 +170,7 @@
{ %% Static info
name :: app_name(),
is_escript :: boolean() | {inlined, escript_app_name()},
- use_selected_vsn :: boolean() | undefined,
+ use_selected_vsn :: vsn | dir | undefined,
active_dir :: dir(),
sorted_dirs :: [dir()],
vsn :: app_vsn(),