Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
a3e9f83f
Commit
a3e9f83f
authored
Jun 20, 2018
by
quasicomputational
Committed by
Alexis Williams
Jun 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: short flags, -z, -o - behaviour
[ci skip]
parent
cbe34941
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
Cabal/doc/nix-local-build.rst
Cabal/doc/nix-local-build.rst
+7
-3
No files found.
Cabal/doc/nix-local-build.rst
View file @
a3e9f83f
...
...
@@ -487,15 +487,19 @@ and two archives of the same format built from the same source will hash to the
``
cabal
new
-
sdist
``
takes
the
following
flags
:
-
``--
list
-
only
``:
Rather
than
creating
an
archive
,
lists
files
that
would
be
included
.
-
``-
l
``,
``--
list
-
only
``:
Rather
than
creating
an
archive
,
lists
files
that
would
be
included
.
Output
is
to
``
stdout
``
by
default
.
-
``--
targz
``:
Output
an
archive
in
``.
tar
.
gz
``
format
.
-
``--
zip
``:
Output
an
archive
in
``.
zip
``
format
.
-
``--
output
-
dir
``:
Sets
the
output
dir
,
if
a
non
-
default
one
is
desired
.
The
default
is
``
dist
-
newstyle
/
sdist
/``.
-
``-
o
``,
``--
output
-
dir
``:
Sets
the
output
dir
,
if
a
non
-
default
one
is
desired
.
The
default
is
``
dist
-
newstyle
/
sdist
/``.
``--
output
-
dir
-``
will
send
output
to
``
stdout
``
unless
multiple
archives
are
being
created
.
-
``-
z
``,
``--
null
``:
Only
used
with
``--
list
-
only
``.
Separates
filenames
with
a
NUL
byte
instead
of
newlines
.
``
new
-
sdist
``
is
inherently
incompatible
with
sdist
hooks
,
not
due
to
implementation
but
due
to
fundamental
core
invariants
(
same
source
code
should
result
in
the
same
tarball
,
byte
for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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