Ticket #213 (closed enhancement: fixed)
allow wildcards in data-files or extra-source-files?
| Reported by: | duncan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Cabal-1.6 |
| Component: | Cabal library | Version: | 1.2.3.0 |
| Severity: | normal | Keywords: | |
| Cc: | Difficulty: | very easy (<1 hour) | |
| GHC Version: | 6.8.2 | Platform: |
Description
Some packages end up with very very long fields for data-files or extra-source-files. Is this a problem? Should we allow some kind of globing to make it a bit less verbose?
extra-source-files: cbits/*.h c-sources: cbits/*.c
On the other hand, there is a danger with globing that you pick up too many files. Perhaps we can counter that by making the globing rather restrictive, like no subdirectory recursion, and only allowing *'s in the final directory component, so no data/*/* patterns. Is there a sweet spot that allows conciseness without including too much accidentally?
Change History
Note: See
TracTickets for help on using
tickets.
