
#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: ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: unknown => easy (<4 hours) Comment: It's not just build-type Simple, the `Configure` and `Make` build types are also prescribed, though perhaps the latter should not be. For build-type Simple we'd require that the `Setup.hs` contain exactly: {{{ import Distribution.Simple main = defaultMain }}} Though to not annoy people perhaps we'd have to allow `Setup.lhs`. Though people might still get annoyed that they are not allowed `#!` lines or comments or whatever. Generally there is a great risk of annoying people. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/479#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects