Discussions

Ask a Question
Back to All

rebar3 compile not compiling _checkouts dependencies?

Hi,

I was expecting that running 'rebar3 compile' would recompile any dependency in the _checkouts directory that would need it, however I purposely introduced lines that cannot compile in a .erl of such _checkouts dependency, and - despite a very long time spent in " ===> Analyzing applications...", 'rebar3 compile' succeeded - whereas it should not have.

However doc says (in https://www.rebar3.org/docs/commands#compile) that:
"""
compile
After ensuring all dependencies are available, and fetching them if they are not, compile will compile the needed dependencies and the project's apps .app.src and .erl files.
"""
This test was done after operated changes in a _checkouts dep were absent from a release.

Am I missing something?

Thanks!