Skip to content
Snippets Groups Projects
Unverified Commit f037e69f authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Merge branch 'master' into issue-8400

parents c75836a0 ae8ce2c1
No related branches found
No related tags found
No related merge requests found
...@@ -763,7 +763,8 @@ describe the package as a whole: ...@@ -763,7 +763,8 @@ describe the package as a whole:
behaviour, put the files that wildcards will match against in behaviour, put the files that wildcards will match against in
their own folder. their own folder.
``**`` wildcards are available starting in Cabal 2.4. ``**`` wildcards are available starting in Cabal 2.4
and `bug-free since Cabal 3.0 <https://github.com/haskell/cabal/issues/6125#issuecomment-1379878419>`_.
.. pkg-field:: data-dir: directory .. pkg-field:: data-dir: directory
......
...@@ -161,6 +161,10 @@ relative to the respective preceding *published* version. ...@@ -161,6 +161,10 @@ relative to the respective preceding *published* version.
``foo/**/bar.html`` are all invalid). As ``**`` was an error in ``foo/**/bar.html`` are all invalid). As ``**`` was an error in
globs before, this does not affect any existing ``.cabal`` files globs before, this does not affect any existing ``.cabal`` files
that previously worked. that previously worked.
(Caveat: Double-star wildcards in :pkg-field:`data-files` directories,
e.g. ``data-files: data/**/*.csv``,
`are only supported correctly from Cabal 3.0 <https://github.com/haskell/cabal/issues/6125#issuecomment-1379878419>`_.)
* Wildcards now match when the pattern's extensions form a suffix of * Wildcards now match when the pattern's extensions form a suffix of
the candidate file's extension, rather than requiring strict the candidate file's extension, rather than requiring strict
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment