From 0f6ff6310ed93b6221120f23ec085c1b7951de5b Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Thu, 19 Nov 2015 18:31:06 +0100 Subject: [5.0-beta] Split into library and executable --- tazblog.cabal | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 tazblog.cabal (limited to 'tazblog.cabal') diff --git a/tazblog.cabal b/tazblog.cabal new file mode 100644 index 0000000000..6bbe2c01f0 --- /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 -- cgit 1.4.1