aggreact/package.yaml
Yann Esposito (Yogsototh) ff61112333
User Login support
- Updated, fixed still experimenting
- Added an adminUser and concept of minimal entities
- Fixes to make it work!
- Cleaning / refacto
- Ignore jwt private key file
- A bit more cleanup
- HTML for current comment and highligh selected
- Some fixes, try to add user nick to comments
- init DB with an admin
2019-01-16 06:07:30 +01:00

122 lines
2.8 KiB
YAML

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:
- 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)
- DeriveGeneric # deriving ToJSON ...
- DerivingStrategies # remove warn about deriving strategies
- StandaloneDeriving # write deriving instance ...
# need GHC > 8.6
- NamedWildCards # can use _type instead of just _
- PartialTypeSignatures
- BlockArguments # blabla do ... instead of blabla $ do ...
- NumericUnderscores # write 1_000 instead of 1000
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -Wnoncanonical-monad-instances
# - -Werror
# - -O2
dependencies:
- base >=4.8 && <5
- protolude
library:
source-dirs: src
dependencies:
- aeson
- acid-state
- blaze-html
- cereal
- cereal-text
- cereal-time
- clay
- containers
- foreign-store
- http-api-data
- http-media
- http-types
- human-readable-duration
- ixset-typed
- generics-sop
- safecopy
- scrypt
- servant
- servant-auth
- servant-auth-server
- servant-blaze
- servant-server
- sqlite-simple
- text
- time
- uuid
- wai
- warp
executables:
aggreact:
main: Main.hs
source-dirs: src-exe
ghc-options:
- -optP-Wno-nonportable-include-path
- -threaded
- -rtsopts
- "\"-with-rtsopts=-N -I0\""
dependencies:
- aggreact
- servant-auth-server
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
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)