X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Rakka.cabal;h=930cc7604f903073f4d72df664984bc0cbb457d0;hb=5ab256be8bbbb1f4a012b41ac1cc3f9b29aa7d57;hp=384a3e94085923c9780e6e9f48476f9fe58ef282;hpb=10200315228e613ca2de0b2a5c5e792e721b4ab6;p=Rakka.git diff --git a/Rakka.cabal b/Rakka.cabal index 384a3e9..930cc76 100644 --- a/Rakka.cabal +++ b/Rakka.cabal @@ -5,13 +5,14 @@ Description: similar to MediaWiki. Version: 0.1 License: PublicDomain -Author: PHO -Maintainer: PHO +Author: PHO +Maintainer: PHO Stability: experimental Homepage: http://rakka.cielonegro.org/ Category: Web Tested-With: GHC == 6.6.1 Cabal-Version: >= 1.2 +Build-Type: Custom Data-Files: defaultPages/Feed.xml @@ -36,30 +37,24 @@ Extra-Source-Files: js/base.js js/base64.js js/editPage.js - js/jquery-1.2.1.js + js/jquery-1.2.2.js js/jquery-dom.js js/localFile.js js/login.js js/screen.js js/search.js js/uri.js + tests/RakkaUnitTest.hs + tests/WikiParserTest.hs Flag build-test-suite Description: Build the test suite. Default: False -Flag enable-profiling - Description: Enable profiling of the executable - Default: False - -Flag hardest-optimization - Description: Make the executable as fast as possible - Default: False - Executable rakka Build-Depends: FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN >= - 0.3.1, Lucu, base, bytestring, containers, dataenc, directory, + 0.3.2, Lucu, base, bytestring, containers, dataenc, directory, utf8-string, filepath, hslogger, hxt, magic, mtl, network, parsec, stm, time, unix, zlib Main-Is: @@ -102,16 +97,8 @@ Executable rakka Rakka.Wiki.Parser Extensions: Arrows, ExistentialQuantification, ScopedTypeVariables, DeriveDataTypeable, FlexibleInstances - if flag(enable-profiling) - GHC-Options: - -Wall -O2 -fvia-C -prof -auto-all - else - if flag(hardest-optimization) - GHC-Options: - -Wall -O2 -fvia-C -funbox-strict-fields - else - GHC-Options: - -Wall + GHC-Options: + -Wall -threaded Executable RakkaUnitTest if flag(build-test-suite)