2015-09-26 11:03:12 +00:00
|
|
|
name: eidolon
|
2015-10-16 13:32:47 +00:00
|
|
|
version: 0.0.5
|
2015-09-26 11:03:12 +00:00
|
|
|
synopsis: Image gallery in Yesod
|
|
|
|
homepage: https://eidolon.nek0.eu
|
|
|
|
license: AGPL-3
|
|
|
|
license-file: LICENSE.md
|
|
|
|
author: Amedeo Molnár
|
|
|
|
maintainer: nek0@chelnok.de
|
|
|
|
category: Web
|
|
|
|
extra-source-files: README.md
|
|
|
|
cabal-version: >= 1.10
|
|
|
|
build-type: Simple
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
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-12-27 22:09:51 +00:00
|
|
|
Handler.Commons
|
2015-10-16 13:32:47 +00:00
|
|
|
Handler.Search
|
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
|
|
|
|
|
2015-09-26 11:03:12 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: TemplateHaskell
|
2014-08-09 18:33:22 +00:00
|
|
|
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
|
|
|
|
2015-09-26 11:03:12 +00:00
|
|
|
build-depends: base >= 4.8
|
|
|
|
, yesod >= 1.4
|
2014-08-12 12:42:25 +00:00
|
|
|
, yesod-core >= 1.2.12
|
2015-09-26 11:03:12 +00:00
|
|
|
, yesod-static >= 1.5
|
|
|
|
, bytestring >= 0.10
|
|
|
|
, text >= 1.2
|
|
|
|
, persistent >= 2.2
|
|
|
|
, persistent-postgresql >= 2.2
|
2014-08-09 18:33:22 +00:00
|
|
|
, template-haskell
|
2014-08-12 12:42:25 +00:00
|
|
|
, shakespeare >= 2.0
|
|
|
|
, hjsmin >= 0.1
|
|
|
|
, wai-extra >= 3.0
|
|
|
|
, yaml >= 0.8
|
|
|
|
, http-conduit >= 2.1
|
2015-09-26 11:03:12 +00:00
|
|
|
, directory >= 1.2
|
2016-01-05 02:58:14 +00:00
|
|
|
, warp >= 3.1 && < 3.2
|
2015-09-26 11:03:12 +00:00
|
|
|
, data-default >= 0.5
|
2014-08-12 12:42:25 +00:00
|
|
|
, aeson >= 0.6
|
|
|
|
, monad-logger >= 0.3
|
2015-09-26 11:03:12 +00:00
|
|
|
, fast-logger >= 2.4
|
2014-12-23 04:01:53 +00:00
|
|
|
-- transition to persisten 2.0
|
2015-09-26 11:03:12 +00:00
|
|
|
, classy-prelude-yesod >= 0.12
|
2014-12-23 04:01:53 +00:00
|
|
|
, file-embed
|
2014-08-12 12:42:25 +00:00
|
|
|
-- custom dependencies
|
2015-09-26 11:03:12 +00:00
|
|
|
, random >= 1.1
|
|
|
|
, mime-mail >= 0.4
|
|
|
|
, blaze-html >= 0.8
|
2014-08-12 12:42:25 +00:00
|
|
|
, filepath
|
2015-09-26 11:03:12 +00:00
|
|
|
, system-filepath >= 0.4
|
|
|
|
, time >= 1.5
|
|
|
|
, transformers >= 0.4
|
|
|
|
, cereal >= 0.4
|
|
|
|
, cryptohash-cryptoapi >= 0.1
|
|
|
|
, crypto-api >= 0.13
|
2014-12-02 07:02:40 +00:00
|
|
|
, imagemagick
|
2015-09-26 11:03:12 +00:00
|
|
|
, yesod-markdown >= 0.10
|
|
|
|
, blaze-markup >= 0.7
|
|
|
|
, wai >= 3.0
|
2015-10-05 21:35:14 +00:00
|
|
|
, yesod-newsfeed >= 1.5
|
2015-09-30 02:07:08 +00:00
|
|
|
, unix >= 2.7
|
2015-10-16 13:32:47 +00:00
|
|
|
, bloodhound >= 0.8
|
|
|
|
, http-types
|
2015-09-28 17:58:49 +00:00
|
|
|
-- for Migrations
|
|
|
|
, HDBC
|
|
|
|
, HDBC-postgresql
|
|
|
|
, imagemagick
|
|
|
|
, text
|
|
|
|
, filepath
|
|
|
|
, system-filepath
|
|
|
|
, bytestring
|
2015-10-16 13:32:47 +00:00
|
|
|
, http-client
|
2015-10-19 06:32:47 +00:00
|
|
|
, yesod-form
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
executable eidolon
|
|
|
|
if flag(library-only)
|
2015-09-28 17:58:49 +00:00
|
|
|
Buildable: False
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
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
|