Skip to content

Commit 40cf289

Browse files
committed
Docs: new-run test/bench is now allowed
1 parent 08e30df commit 40cf289

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cabal/doc/nix-local-build.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ cabal new-run
375375
``cabal new-run [TARGET [ARGS]]`` runs the executable specified by the
376376
target, which can be a component, a package or can be left blank, as
377377
long as it can uniquely identify an executable within the project.
378+
Tests and benchmarks are also treated as executables.
378379

379380
See `the new-build section <#cabal-new-build>`__ for the target syntax.
380381

0 commit comments

Comments
 (0)