Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
442bb913
Commit
442bb913
authored
Sep 26, 2017
by
Francesco Gazzetta
Browse files
Add new-exec to the docs
[ci skip]
parent
cb9a3551
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/nix-local-build.rst
View file @
442bb913
...
...
@@ -402,10 +402,12 @@ cabal new-bench
(
all
the
benchmarks
in
the
current
package
by
default
),
first
ensuring
they
are
up
to
date
.
Unsupported
commands
---------------
-----
cabal
new
-
exec
---------------
The
following
commands
are
not
currently
supported
:
``
cabal
new
-
exec
[
FLAGS
]
[--]
COMMAND
[--]
[
ARGS
]``
runs
the
specified
command
using
the
project
's environment. That is, passing the right flags to compiler
invocations and bringing the project'
s
executables
into
scope
.
``
cabal
new
-
test
``
(:
issue
:`
3638
`)
Workaround
:
run
the
test
executable
directly
(
see
`
Where
are
my
...
...
@@ -415,10 +417,7 @@ The following commands are not currently supported:
Workaround
:
run
the
benchmark
executable
directly
(
see
`
Where
are
my
build
products
<#
where
-
are
-
my
-
build
-
products
>`
__
?)
``
cabal
new
-
exec
``
Workaround
:
if
you
wanted
to
execute
GHCi
,
consider
using
``
cabal
new
-
repl
``
instead
.
Otherwise
,
use
``-
v
``
to
find
the
list
of
flags
GHC
is
being
invoked
with
and
pass
it
manually
.
The
following
commands
are
not
currently
supported
:
``
cabal
new
-
haddock
``
(:
issue
:`
3535
`)
Workaround
:
run
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment