2016-03-04 19:56:33 +03:00
|
|
|
name: guide
|
2016-02-02 12:35:39 +03:00
|
|
|
version: 0.1.0.0
|
|
|
|
synopsis: A site for comparing Haskell libraries
|
|
|
|
description:
|
|
|
|
A site for comparing Haskell libraries
|
2016-03-04 19:56:33 +03:00
|
|
|
homepage: http://github.com/aelve/guide
|
|
|
|
bug-reports: http://github.com/aelve/guide/issues
|
2016-02-02 12:35:39 +03:00
|
|
|
license: BSD3
|
|
|
|
license-file: LICENSE
|
|
|
|
author: Artyom
|
|
|
|
maintainer: yom@artyom.me
|
2017-02-02 08:55:03 +03:00
|
|
|
-- copyright:
|
2016-02-02 12:35:39 +03:00
|
|
|
category: Web
|
2016-11-26 03:40:46 +03:00
|
|
|
tested-with: GHC == 8.0.1
|
2016-02-02 12:35:39 +03:00
|
|
|
build-type: Simple
|
2016-02-02 19:29:23 +03:00
|
|
|
extra-source-files:
|
|
|
|
CHANGELOG.md
|
2016-08-17 11:18:57 +03:00
|
|
|
-- Whatever, this won't ever be installed from a .tar package anyway so I
|
|
|
|
-- won't bother updating this section every time I add a new directory.
|
|
|
|
--
|
|
|
|
-- data-files:
|
|
|
|
-- static/*.svg
|
|
|
|
-- static/*.css
|
|
|
|
-- static/*.md
|
|
|
|
-- static/*.html
|
|
|
|
-- static/*.js
|
|
|
|
-- static/*.ico
|
|
|
|
-- templates/*.widget
|
|
|
|
-- templates/utils/*.widget
|
2016-02-02 12:35:39 +03:00
|
|
|
cabal-version: >=1.10
|
|
|
|
|
|
|
|
source-repository head
|
|
|
|
type: git
|
2016-03-04 19:56:33 +03:00
|
|
|
location: git://github.com/aelve/guide.git
|
2016-02-02 12:35:39 +03:00
|
|
|
|
2016-03-04 19:56:33 +03:00
|
|
|
executable guide
|
2016-02-02 12:35:39 +03:00
|
|
|
main-is: Main.hs
|
2016-08-17 11:18:57 +03:00
|
|
|
build-depends: base
|
|
|
|
, guide
|
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
|
|
|
-threaded "-with-rtsopts=-T -N"
|
2017-01-27 03:18:18 +03:00
|
|
|
hs-source-dirs: src/site
|
2016-08-17 11:18:57 +03:00
|
|
|
default-language: Haskell2010
|
|
|
|
|
|
|
|
library
|
|
|
|
exposed-modules:
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.Server
|
2017-01-31 00:33:13 +03:00
|
|
|
Guide.ServerStuff
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.Config
|
2017-01-30 03:21:54 +03:00
|
|
|
Guide.State
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.Types
|
2017-01-30 03:21:54 +03:00
|
|
|
Guide.Types.Hue
|
|
|
|
Guide.Types.Core
|
|
|
|
Guide.Types.Edit
|
|
|
|
Guide.Types.Action
|
2017-02-02 08:55:03 +03:00
|
|
|
Guide.Types.User
|
2017-01-31 00:33:13 +03:00
|
|
|
Guide.Handlers
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.Utils
|
|
|
|
Guide.Merge
|
|
|
|
Guide.Markdown
|
2017-04-05 04:59:03 +03:00
|
|
|
Guide.Search
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.JS
|
2017-02-03 00:46:04 +03:00
|
|
|
Guide.Views
|
|
|
|
Guide.Views.Page
|
|
|
|
Guide.Views.Auth
|
|
|
|
Guide.Views.Auth.Register
|
|
|
|
Guide.Views.Auth.Login
|
2017-02-05 14:00:16 +03:00
|
|
|
Guide.Views.Item
|
2017-02-05 14:29:26 +03:00
|
|
|
Guide.Views.Category
|
2017-02-03 00:46:04 +03:00
|
|
|
Guide.Views.Utils
|
2017-02-02 08:55:03 +03:00
|
|
|
Guide.Cache
|
2017-01-27 03:18:18 +03:00
|
|
|
Guide.SafeCopy
|
2017-01-23 13:14:23 +03:00
|
|
|
other-modules:
|
|
|
|
Imports
|
2016-07-25 19:47:49 +03:00
|
|
|
build-depends: Spock
|
2016-07-25 17:55:10 +03:00
|
|
|
, Spock-lucid == 0.3.*
|
2016-03-04 18:19:11 +03:00
|
|
|
, acid-state == 0.14.*
|
2016-03-22 01:17:53 +03:00
|
|
|
, aeson == 0.11.*
|
2016-11-26 03:40:46 +03:00
|
|
|
, aeson-pretty
|
|
|
|
, base >=4.9 && <4.10
|
2016-02-02 14:50:30 +03:00
|
|
|
, base-prelude
|
2016-03-22 01:17:53 +03:00
|
|
|
, bytestring
|
2016-10-16 16:58:49 +03:00
|
|
|
, cereal
|
2016-07-24 13:12:17 +03:00
|
|
|
, cmark == 0.5.*
|
|
|
|
, cmark-highlight == 0.2.*
|
|
|
|
, cmark-sections == 0.1.*
|
2016-03-04 12:35:36 +03:00
|
|
|
, containers >= 0.5
|
2016-03-22 01:17:53 +03:00
|
|
|
, data-default >= 0.5
|
2016-05-02 17:49:46 +03:00
|
|
|
, deepseq >= 1.2.0.0
|
2016-03-22 01:17:53 +03:00
|
|
|
, directory >= 1.2
|
2016-03-14 21:51:34 +03:00
|
|
|
, ekg
|
|
|
|
, ekg-core
|
2016-08-17 11:18:57 +03:00
|
|
|
, exceptions
|
2016-10-16 16:58:49 +03:00
|
|
|
, extra
|
2016-03-19 21:36:21 +03:00
|
|
|
, feed >= 0.3.11 && < 0.4
|
2016-08-17 11:18:57 +03:00
|
|
|
, filemanip == 0.3.6.*
|
2016-03-19 21:36:21 +03:00
|
|
|
, filepath
|
2017-03-04 19:57:59 +03:00
|
|
|
, fmt == 0.0.0.4
|
2016-07-25 20:12:08 +03:00
|
|
|
, focus
|
2016-04-07 22:14:08 +03:00
|
|
|
, friendly-time == 0.4.*
|
2016-08-17 11:18:57 +03:00
|
|
|
, fsnotify == 0.2.*
|
2016-05-01 16:28:10 +03:00
|
|
|
, hashable
|
2016-10-16 16:58:49 +03:00
|
|
|
, haskell-src-meta
|
2016-03-23 01:53:38 +03:00
|
|
|
, http-types
|
2016-06-12 22:35:13 +03:00
|
|
|
, ilist
|
2016-06-19 00:52:19 +03:00
|
|
|
, iproute == 1.7.*
|
2016-03-22 01:17:53 +03:00
|
|
|
, lucid >= 2.9.5 && < 3
|
2016-07-27 16:31:55 +03:00
|
|
|
, megaparsec == 5.0.*
|
2016-07-03 23:07:09 +03:00
|
|
|
, microlens-platform >= 0.3.2
|
2016-03-22 01:17:53 +03:00
|
|
|
, mmorph == 1.*
|
2016-04-03 23:57:01 +03:00
|
|
|
, mtl >= 2.1.1
|
2016-02-19 22:12:23 +03:00
|
|
|
, neat-interpolation == 0.3.*
|
2016-04-03 23:57:01 +03:00
|
|
|
, network
|
2016-06-19 00:52:19 +03:00
|
|
|
, patches-vector
|
2016-02-20 12:52:55 +03:00
|
|
|
, path-pieces
|
2016-02-20 01:01:14 +03:00
|
|
|
, random >= 1.1
|
2016-11-26 03:40:46 +03:00
|
|
|
, reroute
|
2016-03-04 18:19:11 +03:00
|
|
|
, safecopy
|
2017-02-02 08:55:03 +03:00
|
|
|
, scrypt
|
2016-03-17 18:04:31 +03:00
|
|
|
, shortcut-links >= 0.4.2
|
2016-08-17 11:18:57 +03:00
|
|
|
, slave-thread
|
2016-06-19 00:52:19 +03:00
|
|
|
, split
|
2016-08-17 11:18:57 +03:00
|
|
|
, stache-plus == 0.1.*
|
2016-07-25 17:55:10 +03:00
|
|
|
, stm-containers >= 0.2.14 && < 0.3
|
2016-04-07 14:19:47 +03:00
|
|
|
, template-haskell
|
2016-06-12 22:35:13 +03:00
|
|
|
, text-all == 0.3.*
|
2016-03-18 21:32:33 +03:00
|
|
|
, time >= 1.5
|
2016-02-02 14:50:30 +03:00
|
|
|
, transformers
|
2016-10-16 16:58:49 +03:00
|
|
|
, uniplate
|
2017-02-19 17:29:42 +03:00
|
|
|
, unix
|
2016-06-19 00:52:19 +03:00
|
|
|
, vector
|
2016-04-03 23:57:01 +03:00
|
|
|
, wai
|
2016-03-14 21:51:34 +03:00
|
|
|
, wai-middleware-metrics
|
2016-02-02 19:29:23 +03:00
|
|
|
, wai-middleware-static
|
2016-03-19 21:36:21 +03:00
|
|
|
, xml
|
2016-02-20 18:28:55 +03:00
|
|
|
, xss-sanitize
|
2016-03-16 02:21:20 +03:00
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
2017-01-27 03:18:18 +03:00
|
|
|
hs-source-dirs: src
|
2016-02-02 12:35:39 +03:00
|
|
|
default-language: Haskell2010
|
2016-07-21 18:57:14 +03:00
|
|
|
default-extensions: MultiWayIf
|
|
|
|
, ViewPatterns
|
|
|
|
, RecordWildCards
|
|
|
|
, TupleSections
|
|
|
|
, LambdaCase
|
|
|
|
, RankNTypes
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, FunctionalDependencies
|
|
|
|
, TemplateHaskell
|
2016-07-30 17:36:20 +03:00
|
|
|
, DeriveFunctor
|
|
|
|
, DeriveTraversable
|
|
|
|
, DeriveGeneric
|
2017-01-23 13:14:23 +03:00
|
|
|
, NoImplicitPrelude
|
2016-08-17 11:18:57 +03:00
|
|
|
|
|
|
|
test-suite tests
|
|
|
|
main-is: Main.hs
|
2016-08-21 14:32:52 +03:00
|
|
|
other-modules: WebSpec
|
2016-08-21 15:13:40 +03:00
|
|
|
MarkdownSpec
|
2016-08-21 17:45:46 +03:00
|
|
|
MergeSpec
|
2016-09-07 18:18:39 +03:00
|
|
|
Selenium
|
2016-08-17 11:18:57 +03:00
|
|
|
type: exitcode-stdio-1.0
|
2016-08-21 17:45:46 +03:00
|
|
|
build-depends: QuickCheck < 2.9
|
|
|
|
, base < 5
|
2016-08-17 11:18:57 +03:00
|
|
|
, base-prelude
|
2016-08-21 14:32:52 +03:00
|
|
|
, cmark
|
|
|
|
, cmark-sections
|
|
|
|
, containers
|
2016-08-17 11:18:57 +03:00
|
|
|
, directory
|
|
|
|
, exceptions
|
|
|
|
, guide
|
|
|
|
, hspec < 3
|
|
|
|
, hspec-expectations
|
2016-11-26 03:40:46 +03:00
|
|
|
, hspec-webdriver < 1.3
|
2016-08-21 14:32:52 +03:00
|
|
|
, lucid < 3
|
|
|
|
, microlens-platform < 0.4
|
2016-08-24 18:05:27 +03:00
|
|
|
, monad-loops < 0.5
|
2016-08-17 11:18:57 +03:00
|
|
|
, network-uri
|
2016-08-21 17:45:46 +03:00
|
|
|
, quickcheck-text < 0.2
|
2016-08-17 11:18:57 +03:00
|
|
|
, slave-thread
|
2016-11-26 03:40:46 +03:00
|
|
|
, tagsoup < 1
|
2016-08-21 14:32:52 +03:00
|
|
|
, text-all < 0.4
|
2016-08-17 11:18:57 +03:00
|
|
|
, transformers
|
2016-11-19 19:43:24 +03:00
|
|
|
, webdriver >= 0.8.4 && < 0.9
|
2016-08-17 11:18:57 +03:00
|
|
|
hs-source-dirs: tests
|
|
|
|
default-language: Haskell2010
|
|
|
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
2016-10-05 01:33:34 +03:00
|
|
|
default-extensions: MultiWayIf
|
|
|
|
, ViewPatterns
|
|
|
|
, RecordWildCards
|
|
|
|
, TupleSections
|
|
|
|
, LambdaCase
|
|
|
|
, RankNTypes
|
|
|
|
, MultiParamTypeClasses
|
|
|
|
, FunctionalDependencies
|
|
|
|
, TemplateHaskell
|
|
|
|
, DeriveFunctor
|
|
|
|
, DeriveTraversable
|
|
|
|
, DeriveGeneric
|