[Hackage] #217: Main modules in .hsc files are not included in sdist

Hackage trac at galois.com
Sat Jan 26 15:10:08 EST 2008


#217: Main modules in .hsc files are not included in sdist
----------------------------+-----------------------------------------------
  Reporter:  gwern          |        Owner:           
      Type:  defect         |       Status:  reopened 
  Priority:  normal         |    Milestone:  Cabal-1.4
 Component:  Cabal library  |      Version:  1.2.3.0  
  Severity:  normal         |   Resolution:           
  Keywords:                 |   Difficulty:  normal   
Ghcversion:  6.8.2          |     Platform:           
----------------------------+-----------------------------------------------
Comment (by ross at soi.city.ac.uk):

 I think it would be most intuitive if `main-is` always named the source
 file containing the Main module, i.e. if
 {{{
 main-is:  Hslock.hsc
 }}}
 worked for both build and sdist.

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


More information about the cabal-devel mailing list