[Hackage] #479: Enforce build-type Simple

Hackage trac at galois.com
Mon Jan 26 08:15:13 EST 2009


#479: Enforce build-type Simple
----------------------------+-----------------------------------------------
  Reporter:  SamB           |        Owner:                 
      Type:  enhancement    |       Status:  new            
  Priority:  normal         |    Milestone:                 
 Component:  Cabal library  |      Version:  1.6.0.1        
  Severity:  normal         |   Resolution:                 
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:                 |     Platform:                 
----------------------------+-----------------------------------------------
Comment (by guest):

 This has potential for annoying a lot of people. There's quite some
 variation in the {{{Setup.[l]hs}}} files. Here is a fictional example, a
 combination of several real {{{Setup.hs}}} scripts:

 {{{
 module Main (main) where

 -- I usually compile this with "ghc --make -o setup Setup.hs"

 import Distribution.Simple (defaultMain)

 main :: IO ()
 main = defaultMain
 }}}

 {{{Setup.lhs}}} files usually include a shebang.

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


More information about the cabal-devel mailing list