summaryrefslogtreecommitdiff
path: root/test/rebar_pkg_repos_SUITE.erl
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2018-11-29 23:00:23 -0500
committerFred Hebert <mononcqc@ferd.ca>2018-11-29 23:00:23 -0500
commitfc9b11afcadc1090f613eaef54873f17fc9020c5 (patch)
tree19e1c7fdaa34d9dde4607f45a9616e0bfdc7b744 /test/rebar_pkg_repos_SUITE.erl
parent6aaa54c6d14f079213f1102243edeb02c3c4f52c (diff)
Clear app details cache before checking in paths
The app data, when set by `rebar3_app_discover` basically does not include the modules if it was derived from the .app.src file, even if at a later point the modules were compiled. Since there is currently no clear way to add that information reliably across all compiler versions in all types of compilers, we simply clear the cache and re-derive the information when required. This might have a small performance cost, but is required for correctness whenever an application's first build is run. Specifically, this bug was detected when a plugin included lager's parse transform, and the application itself also required it, but two distinct versions were needed. This patch finalizes fixing this issue.
Diffstat (limited to 'test/rebar_pkg_repos_SUITE.erl')
0 files changed, 0 insertions, 0 deletions