|
From: <cod...@go...> - 2008-09-21 18:37:15
|
Author: wol...@gm...
Date: Sun Sep 21 11:05:56 2008
New Revision: 306
Modified:
trunk/hoc/InterfaceGenerator2/Output.hs
Log:
Add build-type field to generated cabal fields.
Modified: trunk/hoc/InterfaceGenerator2/Output.hs
==============================================================================
--- trunk/hoc/InterfaceGenerator2/Output.hs (original)
+++ trunk/hoc/InterfaceGenerator2/Output.hs Sun Sep 21 11:05:56 2008
@@ -264,6 +264,7 @@
pprCabalFile frameworkName dependencies entities
= text "name:" <+> text "HOC-" <> text frameworkName $+$
text "version: 1.0" $+$
+ text "build-type: Simple" $+$
text "build-depends:" <+>
hsep (punctuate comma $ map text $
["base", "HOC"] ++ map ("HOC-" ++) dependencies) $+$
|