aggreact/package.yaml

125 lines
2.9 KiB
YAML
Raw Normal View History

2018-12-02 11:33:51 +00:00
name: aggreact
version: '0.1.0.0'
category: Test
author: Yann Esposito
maintainer: yann.esposito@gmail.com
copyright: © 2018 Yann Esposito
github: yogsototh/aggreact
license: ISC
extra-source-files:
- README.md
- stack.yaml
default-extensions:
2019-01-20 00:16:19 +00:00
- OverloadedStrings # write "foo" and it will be the correct text type
- NoImplicitPrelude # to use protolude for example
- ScopedTypeVariables # write expr :: Type inside an expression
- TupleSections # (a,,) instead of \x y -> (a,x,y)
- OverloadedLists # write [1,2,3] :: Set
- ExplicitForAll # f :: forall a b. a -> b -> b
- RecordWildCards # f Conf{..} = field1 ...
- GeneralizedNewtypeDeriving # newtype Id = Id Text deriving (StringConv Id String)
2019-01-20 00:16:19 +00:00
- DeriveGeneric # deriving ToJSON ...
- DerivingStrategies # remove warn about deriving strategies
- StandaloneDeriving # write deriving instance ...
- NamedWildCards # can use _type instead of just _
- PartialTypeSignatures # write foo :: (_) => a -> Bool
- BlockArguments # blabla do ... instead of blabla $ do ...
- NumericUnderscores # write 1_000 instead of 1000
2018-12-02 11:33:51 +00:00
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wnoncanonical-monad-instances
# - -Werror
# - -O2
2018-12-02 11:33:51 +00:00
dependencies:
- base >=4.8 && <5
- protolude
library:
source-dirs: src
dependencies:
2018-12-02 12:57:36 +00:00
- aeson
2019-04-28 19:53:26 +00:00
- beam-core
- beam-sqlite
- beam-migrate
2018-12-10 19:10:42 +00:00
- blaze-html
2018-12-14 23:09:06 +00:00
- clay
2018-12-02 11:33:51 +00:00
- containers
2019-01-20 00:16:19 +00:00
- dhall
- filepath
2018-12-18 23:31:09 +00:00
- foreign-store
2018-12-11 08:32:28 +00:00
- http-api-data
2018-12-14 23:09:06 +00:00
- http-media
- http-types
2018-12-11 08:32:28 +00:00
- human-readable-duration
- ixset-typed
2019-04-29 07:29:10 +00:00
- lens
- generics-sop
2018-12-08 09:31:24 +00:00
- safecopy
- scrypt
2018-12-02 11:33:51 +00:00
- servant
- servant-auth
- servant-auth-server
2018-12-10 19:10:42 +00:00
- servant-blaze
2018-12-02 11:33:51 +00:00
- servant-server
- sqlite-simple
2018-12-02 13:54:15 +00:00
- text
2018-12-02 11:33:51 +00:00
- time
2018-12-09 18:16:02 +00:00
- uuid
2018-12-10 19:10:42 +00:00
- wai
- warp
2019-01-20 00:16:19 +00:00
- yaml
2018-12-02 11:33:51 +00:00
executables:
aggreact:
main: Main.hs
source-dirs: src-exe
ghc-options:
2018-12-10 23:06:10 +00:00
- -optP-Wno-nonportable-include-path
2018-12-02 11:33:51 +00:00
- -threaded
- -rtsopts
- "\"-with-rtsopts=-N -I0\""
2018-12-02 11:33:51 +00:00
dependencies:
- aggreact
- servant-auth-server
2018-12-02 11:33:51 +00:00
tests:
aggreact-doctest:
main: Main.hs
source-dirs: src-doctest
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- doctest >=0.10
- Glob >=0.7
- QuickCheck >=2.5
- aggreact
aggreact-test:
main: Main.hs
source-dirs: src-test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- tasty >=0.11
- tasty-hunit >=0.9
- tasty-smallcheck >=0.8
- aggreact
- generics-sop
- sqlite-simple
- directory
2018-12-02 11:33:51 +00:00
benchmarks:
aggreact-benchmark:
main: Main.hs
source-dirs: src-benchmark
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- criterion >=1.1
- aggreact
stability: alpha (experimental)