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
|
2014-08-12 21:45:33 +00:00
|
|
|
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
|
2014-09-06 06:56:36 +00:00
|
|
|
Handler.Admin
|
|
|
|
Handler.AdminProfileSettings
|
2014-09-07 04:56:34 +00:00
|
|
|
Handler.AdminAlbumSettings
|
2014-09-09 02:25:47 +00:00
|
|
|
Handler.AdminMediumSettings
|
2014-12-21 19:01:03 +00:00
|
|
|
Handler.AdminComments
|
2014-09-14 03:03:13 +00:00
|
|
|
Handler.Tag
|
2014-12-14 19:21:23 +00:00
|
|
|
Handler.RootFeed
|
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-12-23 04:01:53 +00:00
|
|
|
RecordWildCards
|
|
|
|
ViewPatterns
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2014-08-12 12:42:25 +00:00
|
|
|
build-depends: base >= 4
|
2014-12-23 04:01:53 +00:00
|
|
|
, yesod >= 1.4.0
|
2014-08-12 12:42:25 +00:00
|
|
|
, yesod-core >= 1.2.12
|
|
|
|
, yesod-auth >= 1.3
|
|
|
|
, yesod-static >= 1.2
|
|
|
|
, yesod-form >= 1.3
|
|
|
|
, bytestring >= 0.9
|
|
|
|
, text >= 0.11
|
2014-12-23 13:54:31 +00:00
|
|
|
, persistent >= 2.1.1.3
|
2014-08-12 12:42:25 +00:00
|
|
|
, 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
|
2014-12-23 04:01:53 +00:00
|
|
|
-- transition to persisten 2.0
|
|
|
|
, classy-prelude
|
|
|
|
, classy-prelude-conduit
|
|
|
|
, classy-prelude-yesod
|
|
|
|
, file-embed
|
2014-08-12 12:42:25 +00:00
|
|
|
-- custom dependencies
|
|
|
|
, random
|
|
|
|
, mime-mail
|
|
|
|
, blaze-html
|
|
|
|
, filepath
|
2014-12-02 07:02:40 +00:00
|
|
|
, system-filepath
|
2014-08-12 12:42:25 +00:00
|
|
|
, 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-12-02 07:02:40 +00:00
|
|
|
, imagemagick
|
|
|
|
, resourcet
|
2014-12-07 02:54:02 +00:00
|
|
|
, yesod-markdown >= 0.8
|
2014-12-14 19:21:23 +00:00
|
|
|
, blaze-builder
|
|
|
|
, either
|
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
|
2014-12-22 15:19:46 +00:00
|
|
|
, yesod-test >= 1.2
|
2014-08-09 18:33:22 +00:00
|
|
|
, yesod-core
|
|
|
|
, yesod
|
|
|
|
, persistent
|
|
|
|
, persistent-sqlite
|
|
|
|
, resourcet
|
|
|
|
, monad-logger
|
|
|
|
, transformers
|
|
|
|
, hspec
|