eidolon/eidolon.cabal

129 lines
4.3 KiB
Text
Raw Normal View History

2014-08-09 18:33:22 +00:00
name: eidolon
version: 0.0.0
cabal-version: >= 1.8
build-type: Simple
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
exposed-modules: Application
Foundation
2014-08-14 00:25:18 +00:00
Helper
2014-08-09 18:33:22 +00:00
Import
Model
Settings
Settings.StaticFiles
Settings.Development
Handler.Home
2014-08-12 12:37:31 +00:00
Handler.Signup
Handler.Login
Handler.Activate
Handler.Profile
Handler.Upload
2014-08-13 22:49:37 +00:00
Handler.NewAlbum
2014-08-17 20:59:17 +00:00
Handler.Album
2014-08-18 04:06:16 +00:00
Handler.Medium
2014-08-28 16:08:56 +00:00
Handler.AlbumSettings
2014-08-30 18:25:08 +00:00
Handler.MediumSettings
2014-09-04 01:57:01 +00:00
Handler.Reactivate
2014-09-05 18:40:12 +00:00
Handler.ProfileSettings
Handler.ProfileDelete
Handler.Admin
Handler.AdminProfileSettings
2014-09-07 04:56:34 +00:00
Handler.AdminAlbumSettings
2014-08-09 18:33:22 +00:00
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -O0
else
ghc-options: -Wall -O2
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
2014-08-12 12:42:25 +00:00
build-depends: base >= 4
, yesod >= 1.2.5
, yesod-core >= 1.2.12
, yesod-auth >= 1.3
, yesod-static >= 1.2
, yesod-form >= 1.3
, bytestring >= 0.9
, text >= 0.11
, persistent >= 1.3
, persistent-sqlite >= 1.3
, persistent-template >= 1.3
2014-08-09 18:33:22 +00:00
, template-haskell
2014-08-12 12:42:25 +00:00
, shakespeare >= 2.0
, hjsmin >= 0.1
, monad-control >= 0.3
, wai-extra >= 3.0
, yaml >= 0.8
, http-conduit >= 2.1
, directory >= 1.1
, warp >= 3.0
2014-08-09 18:33:22 +00:00
, data-default
2014-08-12 12:42:25 +00:00
, aeson >= 0.6
, conduit >= 1.0
, monad-logger >= 0.3
, fast-logger >= 2.1.4
, wai-logger >= 2.1
-- custom dependencies
, random
, mime-mail
, blaze-html
, filepath
, time
2014-08-15 11:27:31 +00:00
, yesod-persistent
, transformers
2014-08-18 04:06:16 +00:00
, old-locale
2014-08-24 19:42:42 +00:00
, cereal
, cryptohash-cryptoapi
, crypto-api
2014-08-09 18:33:22 +00:00
executable eidolon
if flag(library-only)
Buildable: False
main-is: main.hs
hs-source-dirs: app
build-depends: base
, eidolon
, yesod
ghc-options: -threaded -O2
test-suite test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: tests
ghc-options: -Wall
build-depends: base
, eidolon
, yesod-test >= 1.2 && < 1.3
, yesod-core
, yesod
, persistent
, persistent-sqlite
, resourcet
, monad-logger
, transformers
, hspec