build-type: Simple cabal-version: >= 1.8 license-file: COPYING license: GPL name: hcompta-web version: 0.0.0 Flag dev Description: Turn on development settings, like auto-reload templates. Default: False Flag library-only Description: Build for use with "yesod devel" Default: False library hs-source-dirs: ., app exposed-modules: Application Foundation Import Import.NoFoundation Model Settings Settings.StaticFiles Handler.Common Handler.Home if flag(dev) || flag(library-only) cpp-options: -DDEVELOPMENT ghc-options: -Wall -fwarn-tabs -O0 else ghc-options: -Wall -fwarn-tabs -O2 extensions: DeriveDataTypeable EmptyDataDecls FlexibleContexts GeneralizedNewtypeDeriving MultiParamTypeClasses NoImplicitPrelude NoMonomorphismRestriction OverloadedStrings QuasiQuotes RecordWildCards TupleSections build-depends: base >= 4 && < 5 , aeson >= 0.6 && < 0.9 , bytestring >= 0.9 && < 0.11 , classy-prelude >= 0.10.2 , classy-prelude-conduit >= 0.10.2 , classy-prelude-yesod >= 0.10.2 , conduit >= 1.0 && < 2.0 , containers , data-default , directory >= 1.1 && < 1.3 , fast-logger >= 2.2 && < 2.4 , file-embed , hjsmin >= 0.1 && < 0.2 , http-conduit >= 2.1 && < 2.2 , monad-control >= 0.3 && < 1.1 , monad-logger >= 0.3 && < 0.4 , persistent >= 2.0 && < 2.2 , persistent-sqlite >= 2.1.1 && < 2.2 , persistent-template >= 2.0 && < 2.2 , safe , shakespeare >= 2.0 && < 2.1 , template-haskell , text >= 0.11 && < 2.0 , time , unordered-containers , vector , wai-extra >= 3.0 && < 3.1 , wai-logger >= 2.2 && < 2.3 , warp >= 3.0 && < 3.1 , yaml >= 0.8 && < 0.9 , yesod >= 1.4.1 && < 1.5 , yesod-auth >= 1.4.0 && < 1.5 , yesod-core >= 1.4.6 && < 1.5 , yesod-form >= 1.4.0 && < 1.5 , yesod-static >= 1.4.0.3 && < 1.5 executable hcompta-web if flag(library-only) Buildable: False main-is: main.hs hs-source-dirs: app build-depends: base, hcompta-web ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N test-suite test type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test ghc-options: -Wall extensions: CPP DeriveDataTypeable EmptyDataDecls FlexibleContexts GADTs GeneralizedNewtypeDeriving MultiParamTypeClasses NoImplicitPrelude NoMonomorphismRestriction OverloadedStrings QuasiQuotes TemplateHaskell TupleSections TypeFamilies ViewPatterns build-depends: base , classy-prelude , classy-prelude-yesod , hcompta-web , hspec >= 2.0.0 , monad-logger , persistent , persistent-sqlite , resourcet , shakespeare , transformers , yesod , yesod-core , yesod-test >= 1.4.3 && < 1.5