Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
C
Cabal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
4337d41a
Commit
4337d41a
authored
Mar 02, 2019
by
Herbert Valerio Riedel
🕺
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak documentation adding more references to the set notation
parent
e8c25476
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
Cabal/doc/developing-packages.rst
Cabal/doc/developing-packages.rst
+17
-1
Cabal/doc/file-format-changelog.rst
Cabal/doc/file-format-changelog.rst
+3
-0
No files found.
Cabal/doc/developing-packages.rst
View file @
4337d41a
...
...
@@ -1104,7 +1104,23 @@ describe the package as a whole:
..
pkg
-
field
::
tested
-
with
:
compiler
list
A
list
of
compilers
and
versions
against
which
the
package
has
been
tested
(
or
at
least
built
).
tested
(
or
at
least
built
).
The
value
of
this
field
is
not
used
by
Cabal
and
is
rather
intended
as
extra
metadata
for
use
by
third
party
tooling
,
such
as
e
.
g
.
CI
tooling
.
Here
's a typical usage example
::
tested-with: GHC == 8.6.3, GHC == 8.4.4, GHC == 8.2.2, GHC == 8.0.2,
GHC == 7.10.3, GHC == 7.8.4, GHC == 7.6.3, GHC == 7.4.2
which can (starting with Cabal 3.0) also be written using the more
concise set notation syntax
::
tested-with: GHC == { 8.6.3, 8.4.4, 8.2.2, 8.0.2, 7.10.3, 7.8.4, 7.6.3, 7.4.2 }
.. pkg-field:: data-files: filename list
...
...
Cabal/doc/file-format-changelog.rst
View file @
4337d41a
...
...
@@ -55,6 +55,9 @@ relative to the respective preceding *published* version.
name(s) must be of the form `lib<library-name>.<dyn-library-extension>*`
instead of the old `libC<library-name>-ghc<ghc-flavour><ghc-version>.<dyn-library-extension>`
* New set-notation syntax for ``==`` and ``^>=`` operators, see
:pkg-field:`build-depends` field documentation for examples.
``cabal-version: 2.4``
----------------------
...
...
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