packages feed

doc-review-0.7: doc-review.cabal

Name:                doc-review
Version:             0.7
Synopsis:            Document review Web application, like http://book.realworldhaskell.org/

Description: A standalone Web application that provides for
             paragraph-by-paragraph commentary by document reviewers,
             based on the user interface from
             <http://book.realworldhaskell.org/>. Any Web page can be
             configured to work with the service by adding just a
             little bit of Javascript that makes it load the comment
             Web UI. See the README or the homepage for more information.

Author:              Josh Hoyt
Maintainer:          josh.hoyt@galois.com
Stability:           Experimental
Category:            Web
Build-type:          Simple
Cabal-version:       >=1.6
License:             BSD3
License-File:        LICENSE
Tested-with:         GHC == 6.12.3
Homepage:            https://github.com/j3h/doc-review

data-files:
      static/*.css,
      static/support/javascript/*.js,
      static/support/icons/*.gif

extra-source-files:
      README.rst,
      API.rst,
      TODO.rst

Flag test
  Description: Build the test executable (tests the store implementations)
  Manual: True
  Default: False

Executable doc-review
  hs-source-dirs: src
  main-is: Main.hs

  other-modules:
    Analyze,
    Config,
    Config.Types,
    Config.Format,
    Config.Store,
    Config.Command.Run,
    Config.Command.Scan,
    Config.Command.Report,
    Config.GetOpt,
    Feed,
    Privilege,
    Report,
    Server,
    State.Disk,
    State.Logger,
    State.Mem,
    State.SQLite,
    State.Types

  Build-depends:
    base >= 4 && < 5,
    base64-bytestring == 0.1.*,
    binary == 0.5.*,
    bytestring >= 0.9.1 && <0.10,
    containers < 0.5,
    directory < 1.2,
    feed == 0.3.*,
    filepath >= 1.1 && <1.3,
    haskell98,
    heist >= 0.2.2 && <0.3,
    hexpat >= 0.18.2 && <0.20,
    json == 0.4.*,
    MonadCatchIO-transformers,
    MonadRandom == 0.1.*,
    monads-fd >= 0.1 && <0.2,
    network == 2.2.*,
    old-locale == 1.0.*,
    snap-core >= 0.2 && <0.3,
    snap-server >= 0.2 && <0.3,
    sqlite == 0.5.*,
    tagchup == 0.4.*,
    text >= 0.7 && < 0.11,
    time == 1.1.*,
    transformers == 0.2.*,
    unix < 2.5,
    xhtml-combinators < 0.3,
    xml == 1.3.*,
    xml-basic == 0.1.*

  if impl(ghc >= 6.12.0)
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
                 -fno-warn-unused-do-bind
  else
    ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields

Executable doc-review-test
  HS-Source-Dirs: test, src
  Main-is: Main.hs
  ghc-options: -Wall
  if flag(test)
    Build-Depends: MonadRandom < 0.2,
                   array < 0.4,
                   text >= 0.7 && < 0.11
  else
    Buildable: False