[Hackage] #213: allow wildcards in data-files or extra-source-files?

Hackage trac at galois.com
Thu Jun 26 13:19:17 EDT 2008


#213: allow wildcards in data-files or extra-source-files?
----------------------------+-----------------------------------------------
  Reporter:  duncan         |        Owner:                 
      Type:  enhancement    |       Status:  new            
  Priority:  normal         |    Milestone:  Cabal-1.6      
 Component:  Cabal library  |      Version:  1.2.3.0        
  Severity:  normal         |   Resolution:                 
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:  6.8.2          |     Platform:                 
----------------------------+-----------------------------------------------
Comment (by duncan):

 Done, though not heavily tested:

 {{{
 Thu Jun 26 18:14:24 BST 2008  Duncan Coutts <duncan at haskell.org>
   * Add simple file name globbing (*) to data-files and extra-source-files
 }}}

 I've not added it to `c-sources`. We can change that if we think it's
 important.

 For example in `happs-tutorial.cabal`:
 {{{
 Extra-Source-Files:
     runServer.sh
     templates/*.st
     static/tutorial.css
     static/HAppSTutorialLogo.png
 }}}

 which is considerably neater than the previous long list.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/213#comment:3>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list