summaryrefslogtreecommitdiff
path: root/sflctimekeeper.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'sflctimekeeper.cabal')
-rw-r--r--sflctimekeeper.cabal56
1 files changed, 31 insertions, 25 deletions
diff --git a/sflctimekeeper.cabal b/sflctimekeeper.cabal
index 4478ed0..cc3ee61 100644
--- a/sflctimekeeper.cabal
+++ b/sflctimekeeper.cabal
@@ -54,21 +54,22 @@ library
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
+ DeriveDataTypeable
build-depends: base >= 4 && < 5
-- , yesod-platform >= 1.1 && < 1.2
- , yesod >= 1.1.5 && < 1.2
- , yesod-core >= 1.1.7 && < 1.2
- , yesod-auth >= 1.1 && < 1.2
- , yesod-static >= 1.1 && < 1.2
- , yesod-default >= 1.1 && < 1.2
- , yesod-form >= 1.1 && < 1.3
+ , yesod >= 1.1.5 && < 1.3
+ , yesod-core >= 1.1.7 && < 1.3
+ , yesod-auth >= 1.1 && < 1.3
+ , yesod-static >= 1.1 && < 1.3
+ , yesod-default >= 1.1 && < 1.3
+ , yesod-form >= 1.1 && < 1.4
, clientsession >= 0.8 && < 0.10
, bytestring >= 0.9 && < 0.11
, text >= 0.11 && < 0.12
- , persistent >= 1.1 && < 1.2
- , persistent-sqlite >= 1.1 && < 1.2
- , persistent-template >= 1.1.1 && < 1.2
+ , persistent >= 1.2 && < 1.3
+ , persistent-sqlite >= 1.2 && < 1.3
+ , persistent-template >= 1.2 && < 1.3
, template-haskell
, hamlet >= 1.1 && < 1.2
, shakespeare-css >= 1.0 && < 1.1
@@ -96,33 +97,38 @@ executable sflctimekeeper
if flag(library-only)
Buildable: False
- main-is: ../main.hs
- hs-source-dirs: dist
+ main-is: main.hs
+ hs-source-dirs: app
build-depends: base
, sflctimekeeper
- , yesod-default
+ , yesod
, time
+executable vacation-report
+ if flag(library-only)
+ Buildable: False
+
+ main-is: ../vacation-report.hs
+ hs-source-dirs: dist
+ build-depends: base
+ , sflctimekeeper
+ , yesod
+
test-suite test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: tests
ghc-options: -Wall
- extensions: TemplateHaskell
- QuasiQuotes
- OverloadedStrings
- NoImplicitPrelude
- CPP
- OverloadedStrings
- MultiParamTypeClasses
- TypeFamilies
- GADTs
- GeneralizedNewtypeDeriving
- FlexibleContexts
build-depends: base
, sflctimekeeper
- , yesod-test >= 0.3 && < 0.4
- , yesod-default
+ , yesod-test >= 0.3 && < 1.3
+ , yesod
, yesod-core
+ , persistent
+ , persistent-sqlite
+ , resourcet
+ , monad-logger
, time
+ , transformers
+ , hspec