diff options
author | Björn Gustavsson <[email protected]> | 2017-02-09 11:44:28 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-02-09 11:44:28 +0100 |
commit | aff4e82fce59e4eaefa84ed0d1dd5c40927637e5 (patch) | |
tree | 56dd7ab69e25ec36a20e95c7040cc5d54af8eb36 /lib/kernel/doc | |
parent | b4471746fbf987b44420aa350dc3c2a899e6f0a5 (diff) | |
parent | 1d886081027c4d4fcfbf7f73d4708694cad582f5 (diff) | |
download | otp-aff4e82fce59e4eaefa84ed0d1dd5c40927637e5.tar.gz otp-aff4e82fce59e4eaefa84ed0d1dd5c40927637e5.tar.bz2 otp-aff4e82fce59e4eaefa84ed0d1dd5c40927637e5.zip |
Merge pull request #1312 from richcarl/shell-smart-compile
Extend shell c(...) to find and recompile modules
OTP-14190
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r-- | lib/kernel/doc/src/kernel_app.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/kernel/doc/src/kernel_app.xml b/lib/kernel/doc/src/kernel_app.xml index c581fa9d1e..b342fff0d3 100644 --- a/lib/kernel/doc/src/kernel_app.xml +++ b/lib/kernel/doc/src/kernel_app.xml @@ -433,6 +433,28 @@ MaxT = TickTime + TickTime / 4</code> return as soon as possible for <c>application_controller</c> to terminate properly.</p> </item> + <tag><c>source_search_rules = [DirRule] | [SuffixRule] </c></tag> + <item> + <marker id="source_search_rules"></marker> + <p>Where:</p> + <list type="bulleted"> + <item><c>DirRule = {ObjDirSuffix,SrcDirSuffix}</c></item> + <item><c>SuffixRule = {ObjSuffix,SrcSuffix,[DirRule]}</c></item> + <item><c>ObjDirSuffix = string()</c></item> + <item><c>SrcDirSuffix = string()</c></item> + <item><c>ObjSuffix = string()</c></item> + <item><c>SrcSuffix = string()</c></item> + </list> + <p>Specifies a list of rules for use by <c>filelib:find_file/2</c> and + <c>filelib:find_source/2</c>. If this is set to some other value + than the empty list, it replaces the default rules. Rules can be + simple pairs of directory suffixes, such as <c>{"ebin", + "src"}</c>, which are used by <c>filelib:find_file/2</c>, or + triples specifying separate directory suffix rules depending on + file name extensions, for example <c>[{".beam", ".erl", [{"ebin", + "src"}]}</c>, which are used by <c>filelib:find_source/2</c>. Both + kinds of rules can be mixed in the list.</p> + </item> </taglist> </section> |