about summary refs log tree commit diff
path: root/tazblog.cabal
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2015-11-19T17·31+0100
committerVincent Ambo <tazjin@gmail.com>2015-11-19T17·31+0100
commit0f6ff6310ed93b6221120f23ec085c1b7951de5b (patch)
tree5fa5217906701b7a32c0b916370e72680892ba97 /tazblog.cabal
parent71b2ccd9275bacc789bce7f94d5792a24598460b (diff)
[5.0-beta] Split into library and executable
Diffstat (limited to 'tazblog.cabal')
-rw-r--r--tazblog.cabal58
1 files changed, 58 insertions, 0 deletions
diff --git a/tazblog.cabal b/tazblog.cabal
new file mode 100644
index 000000000000..6bbe2c01f0ef
--- /dev/null
+++ b/tazblog.cabal
@@ -0,0 +1,58 @@
+Name:                tazblog
+Version:             5.0-beta
+Synopsis:            Tazjin's Blog
+License:             MIT
+License-file:        LICENSE
+Author:              Vincent Ambo
+Maintainer:          tazjin@gmail.com
+Category:            Web blog
+Build-type:          Simple
+cabal-version:       >= 1.10
+
+library
+  hs-source-dirs: src
+  default-language:    Haskell2010
+  exposed-modules: Blog, BlogDB, Locales, Server, RSS
+  build-depends: base,
+                 bytestring,
+                 happstack-server,
+                 text,
+                 blaze-html,
+                 blaze-markup,
+                 crypto-api,
+                 cryptohash,
+                 old-locale,
+                 time,
+                 base64-bytestring,
+                 acid-state,
+                 ixset,
+                 safecopy,
+                 mtl,
+                 transformers,
+                 network,
+                 network-uri,
+                 rss,
+                 hamlet,
+                 shakespeare,
+                 markdown
+  default-extensions:
+             DeriveDataTypeable
+             FlexibleContexts
+             GeneralizedNewtypeDeriving
+             MultiParamTypeClasses
+             OverloadedStrings
+             RecordWildCards
+             ScopedTypeVariables
+             TemplateHaskell
+             TypeFamilies
+             QuasiQuotes
+
+executable tazblog
+  hs-source-dirs: blog
+  main-is: Main.hs
+  default-language:    Haskell2010
+  ghc-options: -threaded -rtsopts -with-rtsopts=-N
+  build-depends: base,
+                 acid-state,
+                 tazblog,
+                 options