<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rebar3.git/inttest/code_path_no_recurse/deps/bazdep, 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>remove more code that can be brought back later if needed</title>
<updated>2014-08-31T03:16:30+00:00</updated>
<author>
<name>Tristan Sloughter</name>
<email>t@crashfast.com</email>
</author>
<published>2014-08-31T03:14:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sunet.se/rebar3.git/commit/?id=21f47438614a0d50caf20801c4440d54d12c3f20'/>
<id>21f47438614a0d50caf20801c4440d54d12c3f20</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #267 (code path regression)</title>
<updated>2014-04-23T20:17:23+00:00</updated>
<author>
<name>Tuncer Ayaz</name>
<email>tuncer.ayaz@gmail.com</email>
</author>
<published>2014-04-20T09:59:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.sunet.se/rebar3.git/commit/?id=99fe270e59b44526b43f2b8d93d51b20d45b62d3'/>
<id>99fe270e59b44526b43f2b8d93d51b20d45b62d3</id>
<content type='text'>
Since the introduction of -r/--recursive, deps were not properly added
to the code path when running ct, eunit, etc.

To fix that, pass a flag down to process_dir1 and conditionalize
execution of the command. This moves the decision into process_dir1
where we can decide to invoke preprocess/2 and postprocess/2 but not
execute the command.

Without this fix, you'd have to, for example, invoke 'rebar -r ct
skip_deps=true', if you wanted to run base_dir's ct suites with deps on
the code path (while skipping all non-base_dir ct suites).

So, with this patch applied, if you run
$ rebar ct
deps will be on the code path, and only base_dir's ct suites will be
tested.

If you want to test ct suites in base_dir and sub_dirs, you have to run
$ rebar -r ct skip_deps=true

If you want to test ct suites in all dirs, you have to run
$ rebar -r ct

The fix is not specific to ct and applies to all commands.

To be able to add inttest/code_path_no_recurse/deps, I had to fix
.gitignore. While at it, I've updated and fixed all entries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the introduction of -r/--recursive, deps were not properly added
to the code path when running ct, eunit, etc.

To fix that, pass a flag down to process_dir1 and conditionalize
execution of the command. This moves the decision into process_dir1
where we can decide to invoke preprocess/2 and postprocess/2 but not
execute the command.

Without this fix, you'd have to, for example, invoke 'rebar -r ct
skip_deps=true', if you wanted to run base_dir's ct suites with deps on
the code path (while skipping all non-base_dir ct suites).

So, with this patch applied, if you run
$ rebar ct
deps will be on the code path, and only base_dir's ct suites will be
tested.

If you want to test ct suites in base_dir and sub_dirs, you have to run
$ rebar -r ct skip_deps=true

If you want to test ct suites in all dirs, you have to run
$ rebar -r ct

The fix is not specific to ct and applies to all commands.

To be able to add inttest/code_path_no_recurse/deps, I had to fix
.gitignore. While at it, I've updated and fixed all entries.
</pre>
</div>
</content>
</entry>
</feed>
