hledger/hledger-web/hledger-web.cabal
Simon Michael b5e1c42cc4 web: auto-create all required support files in ./.hledger/web at startup
This is a compromise to ease deployment and satisfy hamlet's requirements.
See the Hledger.Web.Files module for more info. Currently we exit after
creating the missing files since they are not created early enough for
hamlet.
2010-11-18 00:53:41 +00:00

85 lines
2.7 KiB
Plaintext

name: hledger-web
version: 0.13
category: Finance
synopsis: A hledger add-on command providing a web interface.
description:
A hledger add-on command providing a web interface.
license: GPL
license-file: LICENSE
author: Simon Michael <simon@joyful.com>
maintainer: Simon Michael <simon@joyful.com>
homepage: http://hledger.org
bug-reports: http://code.google.com/p/hledger/issues
stability: alpha
tested-with: GHC==6.12
cabal-version: >= 1.6
build-type: Simple
data-dir: .hledger
data-files:
web/addform.hamlet
web/addformpostingfields.hamlet
web/combo_select.gif
web/default-layout.cassius
web/default-layout.hamlet
web/dhtmlxcombo.js
web/dhtmlxcommon.js
web/favicon.ico
web/hledger.js
web/homepage.cassius
web/homepage.hamlet
web/homepage.julius
web/jquery.js
web/jquery.url.js
web/style.css
extra-tmp-files:
extra-source-files:
source-repository head
type: darcs
location: http://joyful.com/repos/hledger
Flag production
Description: Build in production mode, which reads template files only once at startup.
Default: False
executable hledger-web
main-is: Main.hs
ghc-options: -threaded -W
if flag(production)
cpp-options: -DPRODUCTION
other-modules:
Hledger.Web.App
Hledger.Web.Files
Hledger.Web.Settings
build-depends:
hledger == 0.13
,hledger-lib == 0.13
-- ,HUnit
,base >= 3 && < 5
,bytestring
-- ,containers
-- ,csv
,directory
,filepath
-- ,mtl
-- ,old-locale
-- ,old-time
,parsec
-- ,process
-- ,regexpr >= 0.5.1
-- ,safe >= 0.2
-- ,split == 0.1.*
-- ,time
-- ,utf8-string >= 0.3.5 && < 0.4
,io-storage >= 0.3 && < 0.4
,yesod >= 0.5.0.3 && < 0.6
,hamlet == 0.5.*
,convertible-text >= 0.3.0.1 && < 0.4
,data-object >= 0.3.1.2 && < 0.4
,failure >= 0.1 && < 0.2
-- ,persistent == 0.2.*
-- ,persistent-sqlite == 0.2.*
,template-haskell >= 2.4 && < 2.6
,wai-extra == 0.2.*
,file-embed == 0.0.*