<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rebar3.git/test/rebar_xref_SUITE_data/recursive/apps/rebar_issue1, branch master</title>
<subtitle>Clone of https://github.com/erlang/rebar3</subtitle>
<link rel='alternate' type='text/html' href='https://git.sunet.se/rebar3.git/'/>
<entry>
<title>Fix xref compile hook on deps</title>
<updated>2017-06-08T01:43:18+00:00</updated>
<author>
<name>Fred Hebert</name>
<email>mononcqc@ferd.ca</email>
</author>
<published>2017-06-08T00:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sunet.se/rebar3.git/commit/?id=9a6f04a2d9d00167e0b853776b60b12b5c5dcc57'/>
<id>9a6f04a2d9d00167e0b853776b60b12b5c5dcc57</id>
<content type='text'>
If xref analysis is being run by a dependency during its compilation
phase, the xref provider will try to add that deps' parents to the check
job while the ebin/ directories for them do not exist. This causes a
crash.

This patch makes it so directories are only added if they are existing,
preventing failure on any compile hook for dependencies and allowing
successful compilation as a best effort.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If xref analysis is being run by a dependency during its compilation
phase, the xref provider will try to add that deps' parents to the check
job while the ebin/ directories for them do not exist. This causes a
crash.

This patch makes it so directories are only added if they are existing,
preventing failure on any compile hook for dependencies and allowing
successful compilation as a best effort.
</pre>
</div>
</content>
</entry>
</feed>
