The info
command supports the following sub-commands:
bindir
erllibs
path
installdir
version
This command returns the bin
directory for the installed/active version
of Erlang:
$ lfetool info bindir
lfetool
uses the environment variable ERL_LIBS
to provide access to
all of a project's dependencies. Sometimes it's nice to see those lib dirs
directly, so this command is provided as a convenience:
$ lfetool info erllibs
lfetool
uses the environment variable PATH
to provide access to
any needed binaries. It also adds some default directories:
${DEPS}/lfe/bin
/opt/erlang/erjang
Due to the fact that obtaining the lfetool
PATH settings can be useful
for debugging or running commands manually, this is provided as a
convenience:
$ lfetool info path
This command returns the lib
directory for the installed/active version
of Erlang:
$ lfetool info installdir
To get all the versions defined in your project (lfetool
looks for versions
defined in package.exs
and src/*.app.src
as well as git tags), use the
followingn command:
$ lfetool info version