[Hackage] #862: Real file glob for extra-source-files
Hackage
cvs-ghc at haskell.org
Wed Jul 13 19:28:57 CEST 2011
#862: Real file glob for extra-source-files
----------------------------+-----------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Cabal library | Version: 1.8.0.6
Severity: normal | Keywords:
Difficulty: unknown | Ghcversion:
Platform: |
----------------------------+-----------------------------------------------
For the [Yesod scaffolding
tool](https://github.com/gregwebs/yesod/tree/org) We have a directory
structure of extra files. The current file glob syntax doesn't recurse
into directories or recognize files with multiple suffixes. So I am left
to manually do a find command and list all the files in the cabal file.
The extra-source-files field needs a real shell glob syntax. This does not
seem like a hard change to make, but some guidance is needed for the
approach. I see there is a [glob
package](http://hackage.haskell.org/packages/archive/Glob/).
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/862>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list