Repository navigation
Allow commas inside braces in project package globs - #12172
philderbeast wants to merge 1 commit into
Conversation
86f5fcc to
6fb47bd
Compare
5048f32 to
6b3a2e2
Compare
|
Where are the globs handled in the code? I only see the curly braces syntax, which is only the half of the example in the issue. |
6b3a2e2 to
f3c26eb
Compare
2851518 to
f01b796
Compare
f01b796 to
0a1d051
Compare
f5d3e2f to
cd1bfbd
Compare
cd1bfbd to
aa36c4d
Compare
e869050 to
17943d4
Compare
Globs are handled in cabal/cabal-install/src/Distribution/Client/ProjectConfig.hs Lines 1283 to 1308 in 3c15ba7 The cabal/Cabal/src/Distribution/Simple/Glob/Internal.hs Lines 97 to 104 in 3c15ba7 We only needed to fix the curly braces parsing. I've changed the pull request's title and the changelog to say that. |
- Add packages glob parser test - Add a glob test for optional packages - Add a glob parser for package location - Use legacy renderPackageLocationToken - Add doctests of users guide example - Show the parsed token list - derive newtype for PackageLocationTokens
2b863aa to
8c2c08b
Compare
The failing test for #12171 and its fix.
I'll squash commits before applying the merge label if this pull request is approved.
significance: significantin the changelog file.