summary refs log tree commit diff stats
path: root/doc/nims.rst
diff options
context:
space:
mode:
authorStrømberg <Stromberg90@users.noreply.github.com>2019-01-13 09:04:40 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-01-13 09:04:40 +0100
commit2823da5e528b55cb5178e1bc72183bf4638fbf28 (patch)
tree04b760874b1765ae426a891c27172be372d0e957 /doc/nims.rst
parent9af85fb69f26dcae5fba7881a597d78f6bc7ffc8 (diff)
downloadNim-2823da5e528b55cb5178e1bc72183bf4638fbf28.tar.gz
setCommand nop update documentation (#10254)
When I used Warning: Using `setCommand 'nop'` is not necessary.
Diffstat (limited to 'doc/nims.rst')
-rw-r--r--doc/nims.rst11
1 files changed, 0 insertions, 11 deletions
diff --git a/doc/nims.rst b/doc/nims.rst
index 6cc894b91..eaf20a6db 100644
--- a/doc/nims.rst
+++ b/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.