]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Lucu.cabal
StatusCode is now a type class, not an algebraic data type.
[Lucu.git] / Lucu.cabal
index 48c9268e0c32161566dbaca9c7eae00c09e5f126..deed5971d63b8d7544dd07868cfded2fa665d898 100644 (file)
@@ -22,11 +22,7 @@ Tested-With: GHC == 7.0.3
 Cabal-Version: >= 1.6
 Build-Type: Simple
 Extra-Source-Files:
-    ImplantFile.hs
     NEWS
-    data/CompileMimeTypes.hs
-    data/Makefile
-    data/mime.types
     examples/HelloWorld.hs
     examples/Implanted.hs
     examples/ImplantedSmall.hs
@@ -58,7 +54,6 @@ Library
         containers                 == 0.4.*,
         containers-unicode-symbols == 0.3.*,
         filepath                   == 1.2.*,
-        haskell-src-exts           == 1.11.*,
         hxt                        == 9.1.*,
         mtl                        == 2.0.*,
         network                    == 2.3.*,
@@ -92,6 +87,7 @@ Library
         Network.HTTP.Lucu.Resource.Tree
         Network.HTTP.Lucu.Response
         Network.HTTP.Lucu.StaticFile
+        Network.HTTP.Lucu.StatusCode
         Network.HTTP.Lucu.Utils
 
     Other-Modules:
@@ -108,6 +104,7 @@ Library
         Network.HTTP.Lucu.Resource.Internal
         Network.HTTP.Lucu.ResponseWriter
         Network.HTTP.Lucu.SocketLike
+        Network.HTTP.Lucu.StatusCode.Internal
 
     ghc-options:
         -Wall
@@ -121,18 +118,9 @@ Executable lucu-implant-file
     Main-Is: ImplantFile.hs
 
     Build-Depends:
-        SHA  == 1.5.*,
-        zlib == 0.5.*
+        SHA              == 1.5.*,
+        haskell-src-exts == 1.11.*,
+        zlib             == 0.5.*
 
     ghc-options:
         -Wall
-
---Executable HelloWorld
---    Main-Is: HelloWorld.hs
---    Hs-Source-Dirs: ., examples
---    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
-
---Executable Multipart
---    Main-Is: Multipart.hs
---    Hs-Source-Dirs: ., examples
---    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all