summaryrefslogtreecommitdiff
path: root/test/rebar_test_utils.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-04-17 16:37:33 +0000
committerFred Hebert <mononcqc@ferd.ca>2015-04-17 16:37:33 +0000
commit2ff4ac6d5049746be80263e48df5d864606e22d6 (patch)
tree988dad9c0716f680be7aa60e90391b78bb2cff9c /test/rebar_test_utils.erl
parent38191c369a29c4cd8f6c5a30233014b7d7547813 (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 'test/rebar_test_utils.erl')
0 files changed, 0 insertions, 0 deletions