[Hackage] #792: sdist doesn't not include source files from test-suite stanzas

Hackage cvs-ghc at haskell.org
Tue Jan 18 15:22:59 CET 2011


#792: sdist doesn't not include source files from test-suite stanzas
----------------------------+-----------------------------------------------
  Reporter:  tibbe          |        Owner:  ttuegel   
      Type:  defect         |       Status:  new       
  Priority:  normal         |    Milestone:  Cabal-1.10
 Component:  Cabal library  |      Version:  1.8.0.6   
  Severity:  normal         |     Keywords:            
Difficulty:  unknown        |   Ghcversion:            
  Platform:                 |  
----------------------------+-----------------------------------------------
 `cabal sdist` doesn't include the source files from test-suite stanzas
 when generating the tarball. This leads to Hackage's QA checks rejecting
 the package.

 Steps to reproduce:

  1. Create a Cabal package with a test-suite stanza (and set `hs-source-
 dirs` to e.g. `tests`).
  2. Run `cabal sdist`
  3. Unpack the tarball and look at the content.

 Thomas, could you please take a look?

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



More information about the cabal-devel mailing list