darcsweb - darcsweb.cabal

summary shortlog log tree tags
[root] / darcsweb.cabal
cabal-version:      3.0
name:               darcsweb
version:            0.1.0.0
synopsis:           A web interface for browsing darcs repositories
license:            GPL-2.0-or-later
license-file:       LICENSE
author:             Fritjof
build-type:         Custom

custom-setup
  setup-depends:
      base >= 4.12 && < 5
    , Cabal >= 3.0
    , process >= 1.6

library
  default-language: Haskell2010
  hs-source-dirs:   src, gen
  exposed-modules:  DarcsWeb.Config
                  , DarcsWeb.Darcs
                  , DarcsWeb.Html
                  , DarcsWeb.Types
                  , HtmlPure
                  , PathPure
  ghc-options:      -Wall
  build-depends:    base >= 4.12 && < 5
                  , darcs >= 2.18 && < 3
                  , text >= 1.2 && < 3
                  , bytestring >= 0.10 && < 1
                  , containers >= 0.6 && < 1
                  , directory >= 1.3 && < 2
                  , filepath >= 1.4 && < 2
                  , time >= 1.9 && < 2

executable darcsweb
  default-language: Haskell2010
  hs-source-dirs:   app
  main-is:          Main.hs
  ghc-options:      -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:    base >= 4.12 && < 5
                  , darcsweb
                  , scotty >= 0.20 && < 1
                  , warp >= 3.3 && < 4
                  , text >= 1.2 && < 3
                  , wai >= 3.0 && < 4
                  , http-types >= 0.12 && < 1
                  , unix >= 2.7 && < 3
                  , hsyslog >= 5.0 && < 6
                  , directory >= 1.3 && < 2
                  , filepath >= 1.4 && < 2
                  , time >= 1.9 && < 2

test-suite darcsweb-test
  type:             exitcode-stdio-1.0
  default-language: Haskell2010
  hs-source-dirs:   test
  main-is:          Spec.hs
  other-modules:    Properties.Html
  ghc-options:      -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:    base >= 4.12 && < 5
                  , darcsweb
                  , QuickCheck >= 2.14 && < 3
                  , text >= 1.2 && < 3
                  , process >= 1.6 && < 2