diff options
author | Loïc Hoguin <[email protected]> | 2018-03-28 11:54:03 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-03-28 12:20:43 +0200 |
commit | fb4e8687f2c5e55ccead797588fed018bcae646b (patch) | |
tree | 646e0cdc29afcf98cc4f090a966412450c617ebd /doc/src/guide/getting_started.asciidoc | |
parent | 2e848f337b68fa70b6e9097ce747894146f4141b (diff) | |
download | erlang.mk-fb4e8687f2c5e55ccead797588fed018bcae646b.tar.gz erlang.mk-fb4e8687f2c5e55ccead797588fed018bcae646b.tar.bz2 erlang.mk-fb4e8687f2c5e55ccead797588fed018bcae646b.zip |
Add "make install p=$PKG" to install packages locally
This uses the erlang.mk test infrastructure to build the
package and the packages are installed by default to
XDG_DATA_HOME/erlang.mk/lib. Just add this path to
ERL_LIBS and it will be available to all non-release
Erlang shells.
export ERL_LIBS=$HOME/.local/share/erlang.mk/lib
To make them available to releases they need to be
started in interactive mode. This can be done via
the CODE_LOADING_MODE variable which is used at the
release startup.
export CODE_LOADING_MODE=interactive
Diffstat (limited to 'doc/src/guide/getting_started.asciidoc')
0 files changed, 0 insertions, 0 deletions