setCommand nop update documentation (#10254)

When I used Warning: Using `setCommand 'nop'` is not necessary.
This commit is contained in:
Strømberg
2019-01-13 09:04:40 +01:00
committed by Andreas Rumpf
parent 9af85fb69f
commit 2823da5e52

View File

@@ -117,17 +117,6 @@ Task Description
========= ===================================================
If the task runs an external command via ``exec`` it should afterwards call
``setCommand "nop"`` to tell the Nim compiler that nothing else needs to be
done:
.. code-block:: nim
task tests, "test regular expressions":
exec "nim c -r tests"
setCommand "nop"
Look at the module `distros <distros.html>`_ for some support of the
OS's native package managers.