]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
Exodus to GHC 6.8.1
[Rakka.git] / Rakka.cabal
index 82bb77314dd02c04a24abdb488dbe85b82170181..2a232275155ca8d052b1b3e33195a0fe26c85cd7 100644 (file)
@@ -1,29 +1,17 @@
-Name:
-    Rakka
-Synopsis:
-    Wiki engine with Subversion backend
+Name:          Rakka
+Synopsis:      Wiki engine with Subversion backend
 Description:
     FIXME: write this
-Version:
-    0.1
-License:
-    PublicDomain
-Author:
-    PHO <phonohawk at ps dot sakura dot ne dot jp>
-Maintainer:
-    PHO <phonohawk at ps dot sakura dot ne dot jp>
-Stability:
-    experimental
-Homepage: 
-    http://ccm.sherry.jp/Rakka/
-Category:
-    Web
-Tested-With:
-    GHC == 6.6.1
-Build-Depends:
-    Crypto, FileManip, HUnit, HsHyperEstraier >= 0.2, HsSVN, Lucu,
-    base, encoding, filepath, hslogger, hxt, mtl, network, parsec,
-    stm, unix, zlib
+Version:       0.1
+License:       PublicDomain
+Author:        PHO <phonohawk at ps dot sakura dot ne dot jp>
+Maintainer:    PHO <phonohawk at ps dot sakura dot ne dot jp>
+Stability:     experimental
+Homepage:      http://ccm.sherry.jp/Rakka/
+Category:      Web
+Tested-With:   GHC == 6.6.1
+Cabal-Version: >= 1.2
+
 Data-Files:
     defaultpages/Help/SampleImage/Large
     defaultpages/Help/SampleImage/Small
@@ -34,6 +22,7 @@ Data-Files:
     defaultPages/SideBar/Right
     defaultPages/StyleSheet/Default
     schemas/rakka-page-1.0.rng
+
 Extra-Source-Files:
     Rakka.buildinfo.in
     configure
@@ -45,48 +34,56 @@ Extra-Source-Files:
     js/jquery-dom.js
     js/screen.js
 
+Flag build-test-suite
+    Description: Build the test suite.
+    Default:     False
 
-Executable:
-    rakka
-Main-Is:
-    Main.hs
-Other-Modules:
-    Rakka.Environment
-    Rakka.Page
-    Rakka.Resource
-    Rakka.Resource.Index
-    Rakka.Resource.JavaScript
-    Rakka.Resource.Object
-    Rakka.Resource.PageEntity
-    Rakka.Storage
-    Rakka.Storage.DefaultPage
-    Rakka.Storage.Types
-    Rakka.Storage.Impl
-    Rakka.SystemConfig
-    Rakka.Utils
-    Rakka.Wiki
-    Rakka.Wiki.Interpreter
-    Rakka.Wiki.Interpreter.Base
-    Rakka.Wiki.Interpreter.Image
-    Rakka.Wiki.Interpreter.PageList
-    Rakka.Wiki.Interpreter.Trackback
-    Rakka.Wiki.Interpreter.Outline
-    Rakka.Wiki.Engine
-    Rakka.Wiki.Formatter
-    Rakka.Wiki.Parser
-Extensions:
-    Arrows, ExistentialQuantification
-GHC-Options:
-    -fwarn-unused-imports -fglasgow-exts
-
+Executable rakka
+    Build-Depends:
+        Crypto, FileManip, HUnit, HsHyperEstraier, HsSVN, Lucu, base,
+        bytestring, containers, directory, utf8-string, filepath,
+        hslogger, hxt, mtl, network, parsec, stm, time, unix, zlib
+    Main-Is:
+        Main.hs
+    Other-Modules:
+        Rakka.Environment
+        Rakka.Page
+        Rakka.Resource
+        Rakka.Resource.Index
+        Rakka.Resource.JavaScript
+        Rakka.Resource.Object
+        Rakka.Resource.PageEntity
+        Rakka.Storage
+        Rakka.Storage.DefaultPage
+        Rakka.Storage.Types
+        Rakka.Storage.Impl
+        Rakka.SystemConfig
+        Rakka.Utils
+        Rakka.Wiki
+        Rakka.Wiki.Interpreter
+        Rakka.Wiki.Interpreter.Base
+        Rakka.Wiki.Interpreter.Image
+        Rakka.Wiki.Interpreter.PageList
+        Rakka.Wiki.Interpreter.Trackback
+        Rakka.Wiki.Interpreter.Outline
+        Rakka.Wiki.Engine
+        Rakka.Wiki.Formatter
+        Rakka.Wiki.Parser
+    Extensions:
+        Arrows, ExistentialQuantification, ScopedTypeVariables
+    GHC-Options:
+        -Wall -Werror -XDeriveDataTypeable
 
-Executable:
-    RakkaUnitTest
-Main-Is:
-    RakkaUnitTest.hs
-Hs-Source-Dirs:
-    tests
-Other-Modules:
-    WikiParserTest
-GHC-Options:
-    -fwarn-unused-imports -fglasgow-exts
\ No newline at end of file
+Executable RakkaUnitTest
+    if flag(build-test-suite)
+        Buildable: True
+    else
+        Buildable: False
+    Main-Is:
+        RakkaUnitTest.hs
+    Hs-Source-Dirs:
+        ., tests
+    Other-Modules:
+        WikiParserTest
+    GHC-Options:
+        -Wall -Werror
\ No newline at end of file