setCommand nop update documentation (#10254)
When I used Warning: Using `setCommand 'nop'` is not necessary.
This commit is contained in:
parent
9af85fb69f
commit
2823da5e52
1 changed files with 0 additions and 11 deletions
11
doc/nims.rst
11
doc/nims.rst
|
|
@ -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
|
Look at the module `distros <distros.html>`_ for some support of the
|
||||||
OS's native package managers.
|
OS's native package managers.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue