aboutsummaryrefslogtreecommitdiffstats
path: root/guide/ci.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-08-28 16:40:33 +0200
committerLoïc Hoguin <[email protected]>2017-08-28 16:40:33 +0200
commit36a10ef698bd9ea1109e540cd45077a2d8430cae (patch)
tree7fb23bde6852ec2d0b11fa00b9dff1164d0f193b /guide/ci.html
parente5b8d638ea7293ae8a6d65386aefbb0d30aa254c (diff)
downloaderlang.mk-36a10ef698bd9ea1109e540cd45077a2d8430cae.tar.gz
erlang.mk-36a10ef698bd9ea1109e540cd45077a2d8430cae.tar.bz2
erlang.mk-36a10ef698bd9ea1109e540cd45077a2d8430cae.zip
Update user guide
Diffstat (limited to 'guide/ci.html')
-rw-r--r--guide/ci.html12
1 files changed, 2 insertions, 10 deletions
diff --git a/guide/ci.html b/guide/ci.html
index b04e610..8ccc12b 100644
--- a/guide/ci.html
+++ b/guide/ci.html
@@ -51,18 +51,10 @@ information about Erlang/OTP versions and customization of the
Erlang/OTP builds.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_running_tests_across_all_configured_versions"></a>20.2. Running tests across all configured versions</h2></div></div></div><p>The recommended way to run the <code class="literal">ci</code> target is with the option
<code class="literal">-k</code>. It will ensure that tests are run for all configured
Erlang/OTP versions, even if there are errors:</p><pre class="programlisting">$ make ci -k</pre></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="_extending_the_ci_targets"></a>20.3. Extending the CI targets</h2></div></div></div><p>The <code class="literal">ci</code> target can be extended. For example to run Dialyzer
-at the end of CI:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
-ci
-</span></dt><dd>
-dialyze
-</dd></dl></div><p>Additional setup can be done by extending the <code class="literal">ci-setup</code>
+at the end of CI:</p><pre class="programlisting">ci:: dialyze</pre><p>Additional setup can be done by extending the <code class="literal">ci-setup</code>
target. This target is ran before testing each individual
Erlang/OTP version.</p><p>For example, to ensure dependencies are re-fetched/built
-before testing individual Erlang/OTP releases:</p><div class="variablelist"><dl class="variablelist"><dt><span class="term">
-ci-setup
-</span></dt><dd>
-distclean
-</dd></dl></div><p>Similarly, the <code class="literal">ci-extra</code> target can be extended to run
+before testing individual Erlang/OTP releases:</p><pre class="programlisting">ci-setup:: distclean</pre><p>Similarly, the <code class="literal">ci-extra</code> target can be extended to run
extra commands after an Erlang/OTP version has been tested.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="coverage.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="tests.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="dialyzer.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div>
</main>
</body>