diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-04-17 16:37:33 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-04-17 16:37:33 +0000 |
commit | 2ff4ac6d5049746be80263e48df5d864606e22d6 (patch) | |
tree | 988dad9c0716f680be7aa60e90391b78bb2cff9c /src/rebar3.erl | |
parent | 38191c369a29c4cd8f6c5a30233014b7d7547813 (diff) |
Default deps always to the default profile
When fetching dependencies for the first time using a profile (`rebar3
as prod release` or `rebar3 ct`), the dependencies get fetched into the
non-default profile. This has two consequences:
- the files get re-downloaded on follow-up runs
- the lock file includes incomplete or too many deps in its list
This patch forces dependencies in the default profile to be stored in
_build/default/lib even when running under other profiles, then symlinks
them to the correct one.
This makes it so common dependencies in 'default' be downloaded there
and avoids re-downloading them. Should also fix the lock issues.
Diffstat (limited to 'src/rebar3.erl')
0 files changed, 0 insertions, 0 deletions