mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
setCommand nop update documentation (#10254)
When I used Warning: Using `setCommand 'nop'` is not necessary.
This commit is contained in:
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
|
||||
OS's native package managers.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user