]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
Global JavaScript
[Rakka.git] / Rakka.cabal
index 7f2cef3173c15303139f5bb300154f7f02392a46..dca35757f89d53f63af9a71cf14b0549a6c58fbb 100644 (file)
@@ -5,13 +5,14 @@ Description:
     similar to MediaWiki.
 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>
+Author:        PHO <pho at cielonegro dot org>
+Maintainer:    PHO <pho at cielonegro dot org>
 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
@@ -40,6 +41,7 @@ Extra-Source-Files:
     js/jquery-dom.js
     js/localFile.js
     js/login.js
+    js/parseuri.js
     js/screen.js
     js/search.js
     js/uri.js
@@ -50,14 +52,6 @@ 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 >=
@@ -82,6 +76,7 @@ Executable rakka
         Rakka.Resource.Search
         Rakka.Resource.SystemConfig
         Rakka.Resource.TrackBack
+        Rakka.Resource.Users
         Rakka.Storage
         Rakka.Storage.DefaultPage
         Rakka.Storage.Repos
@@ -104,16 +99,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 -threaded
-        else
-            GHC-Options:
-                -Wall -threaded
+    GHC-Options:
+        -Wall -threaded
 
 Executable RakkaUnitTest
     if flag(build-test-suite)