Making a Local Copy of the Dependencies
My bertie application made a local copy of bitcask in a local
subdirectory of the bertie application. Sometimes several
different applications want to make use of the same dependencies,
in which case we create a dependency directory structure
outside our application.
For my local projects I keep all my downloaded rebar dependencies in
one place. I store all these dependencies under a top-level directory called ~joe/nobackup/erl_imports. My machine is
organized so that any files under the nobackup
directory are not subject to backup. Since the files I’m
interested in are widely available on the Web, it doesn’t seem
necessary to create local backups.
The file ~joe/nobackup/erlang_imports/rebar.config ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access