Permalink
Browse files

Added a build system.

  • Loading branch information...
1 parent e0602ac commit a247760795e475f5c9108c13dc171a3327096086 @tibbe committed May 13, 2008
Showing with 37 additions and 0 deletions.
  1. +3 −0 Setup.hs
  2. +34 −0 hyena.cabal
View
@@ -0,0 +1,3 @@
+import Distribution.Simple
+
+main = defaultMain
View
@@ -0,0 +1,34 @@
+name: hyena
+version: 0.1
+synopsis: Simple web application server
+license: BSD3
+license-file: LICENSE
+author: Johan Tibell
+maintainer: johan.tibell@gmail.com
+build-type: Simple
+cabal-version: >= 1.2
+
+flag split-base
+ description: Choose the new smaller, split-up base package.
+
+library
+ exposed-modules: Hyena.Config
+ Hyena.Server
+ Network.Wai
+
+ other-modules: Hyena.Http
+ Hyena.Logging
+ Hyena.Parser
+
+ if flag(split-base)
+ build-depends: base >= 3 && < 3.1, bytestring, containers, directory,
+ filepath
+ else
+ build-depends: base >= 2.1 && < 3
+ build-depends: network >= 2.1 && < 2.2,
+ mtl >= 1 && < 1.2,
+ network-bytestring >= 0.1.1.2 && < 0.2,
+ unix
+
+ extensions: Rank2Types
+ ghc-options: -funbox-strict-fields -Wall

0 comments on commit a247760

Please sign in to comment.