2019-08-13 07:57:30 +03:00
|
|
|
name: king
|
2019-05-20 04:53:32 +03:00
|
|
|
version: 0.1.0
|
|
|
|
license: AGPL-3.0-only
|
|
|
|
|
2019-08-30 11:57:05 +03:00
|
|
|
flags:
|
|
|
|
Release:
|
|
|
|
description: "Produce statically-linked executables"
|
|
|
|
default: false
|
|
|
|
manual: true
|
|
|
|
|
2019-05-20 04:53:32 +03:00
|
|
|
library:
|
|
|
|
source-dirs: lib
|
|
|
|
ghc-options:
|
|
|
|
- -fwarn-incomplete-patterns
|
2019-07-12 00:41:09 +03:00
|
|
|
- -fwarn-unused-binds
|
|
|
|
- -fwarn-unused-imports
|
2019-07-12 22:18:14 +03:00
|
|
|
- -Werror
|
2019-05-20 04:53:32 +03:00
|
|
|
- -O2
|
|
|
|
|
2019-07-19 03:52:53 +03:00
|
|
|
tests:
|
2019-08-13 07:57:30 +03:00
|
|
|
king-tests:
|
2019-07-19 03:52:53 +03:00
|
|
|
source-dirs: test
|
|
|
|
main: Main.hs
|
2019-08-13 07:57:30 +03:00
|
|
|
dependencies: king
|
2019-07-19 03:52:53 +03:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
2019-07-22 02:33:26 +03:00
|
|
|
- -rtsopts
|
|
|
|
- -with-rtsopts=-N
|
2019-07-19 03:52:53 +03:00
|
|
|
|
2019-05-20 04:53:32 +03:00
|
|
|
dependencies:
|
|
|
|
- async
|
|
|
|
- base
|
2019-08-01 01:44:14 +03:00
|
|
|
- base-unicode-symbols
|
2019-08-03 03:09:53 +03:00
|
|
|
- binary
|
2019-06-02 00:56:09 +03:00
|
|
|
- bytestring
|
2019-05-20 04:53:32 +03:00
|
|
|
- case-insensitive
|
|
|
|
- classy-prelude
|
2019-07-19 03:52:53 +03:00
|
|
|
- conduit
|
2019-05-20 04:53:32 +03:00
|
|
|
- containers
|
2019-09-18 09:58:42 +03:00
|
|
|
- data-default
|
2019-05-20 04:53:32 +03:00
|
|
|
- data-fix
|
2019-07-16 05:20:23 +03:00
|
|
|
- directory
|
2019-09-26 00:26:51 +03:00
|
|
|
- ed25519
|
2019-07-16 03:01:45 +03:00
|
|
|
- entropy
|
2019-08-28 14:00:26 +03:00
|
|
|
- exceptions
|
2019-05-20 04:53:32 +03:00
|
|
|
- extra
|
2019-06-12 23:47:36 +03:00
|
|
|
- fixed-vector
|
2019-05-20 04:53:32 +03:00
|
|
|
- flat
|
|
|
|
- ghc-prim
|
2019-06-30 06:05:45 +03:00
|
|
|
- hashable
|
2019-06-02 00:56:09 +03:00
|
|
|
- hashtables
|
2019-05-20 04:53:32 +03:00
|
|
|
- http-client
|
|
|
|
- http-types
|
|
|
|
- integer-gmp
|
2019-07-03 02:37:10 +03:00
|
|
|
- iproute
|
2019-05-20 04:53:32 +03:00
|
|
|
- largeword
|
|
|
|
- lens
|
2019-06-02 00:56:09 +03:00
|
|
|
- lmdb
|
2019-09-13 09:55:10 +03:00
|
|
|
- lock-file
|
2019-05-20 04:53:32 +03:00
|
|
|
- megaparsec
|
2019-09-20 01:40:23 +03:00
|
|
|
- memory
|
2019-05-20 04:53:32 +03:00
|
|
|
- mtl
|
|
|
|
- multimap
|
2019-07-03 02:37:10 +03:00
|
|
|
- network
|
2019-08-28 14:00:26 +03:00
|
|
|
- optparse-applicative
|
2019-05-20 04:53:32 +03:00
|
|
|
- para
|
|
|
|
- pretty-show
|
2019-06-02 00:56:09 +03:00
|
|
|
- primitive
|
|
|
|
- process
|
2019-05-20 04:53:32 +03:00
|
|
|
- QuickCheck
|
2019-08-01 08:48:08 +03:00
|
|
|
- random
|
2019-07-22 21:10:27 +03:00
|
|
|
- regex-tdfa
|
|
|
|
- regex-tdfa-text
|
2019-07-19 03:52:53 +03:00
|
|
|
- resourcet
|
2019-06-25 23:58:07 +03:00
|
|
|
- rio
|
2019-06-02 00:56:09 +03:00
|
|
|
- sdl2
|
|
|
|
- sdl2-image
|
2019-05-20 04:53:32 +03:00
|
|
|
- semigroups
|
|
|
|
- smallcheck
|
|
|
|
- stm
|
|
|
|
- stm-chans
|
|
|
|
- tasty
|
|
|
|
- tasty-quickcheck
|
|
|
|
- tasty-th
|
2019-06-27 00:13:25 +03:00
|
|
|
- template-haskell
|
2019-09-12 22:49:27 +03:00
|
|
|
- terminal-progress-bar
|
2019-09-18 09:58:42 +03:00
|
|
|
- terminal-size
|
2019-09-13 09:55:10 +03:00
|
|
|
- terminfo
|
2019-05-20 04:53:32 +03:00
|
|
|
- text
|
|
|
|
- these
|
|
|
|
- time
|
|
|
|
- transformers
|
2019-07-21 04:29:39 +03:00
|
|
|
- unix
|
2019-08-28 14:45:49 +03:00
|
|
|
- unliftio
|
2019-08-28 14:00:26 +03:00
|
|
|
- unliftio-core
|
2019-05-20 04:53:32 +03:00
|
|
|
- unordered-containers
|
2019-09-17 21:19:53 +03:00
|
|
|
- urbit-hob
|
2019-09-13 21:46:03 +03:00
|
|
|
- utf8-string
|
2019-05-20 04:53:32 +03:00
|
|
|
- vector
|
2019-06-02 00:56:09 +03:00
|
|
|
- wai
|
2019-08-03 22:26:45 +03:00
|
|
|
- wai-conduit
|
2019-06-02 00:56:09 +03:00
|
|
|
- warp
|
|
|
|
- warp-tls
|
2019-09-20 01:40:23 +03:00
|
|
|
- web3
|
2019-08-30 10:55:40 +03:00
|
|
|
- websockets
|
2019-05-20 04:53:32 +03:00
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
- ApplicativeDo
|
|
|
|
- BangPatterns
|
|
|
|
- BlockArguments
|
2019-06-27 01:51:30 +03:00
|
|
|
- DataKinds
|
|
|
|
- DefaultSignatures
|
2019-05-20 04:53:32 +03:00
|
|
|
- DeriveAnyClass
|
|
|
|
- DeriveDataTypeable
|
|
|
|
- DeriveFoldable
|
|
|
|
- DeriveGeneric
|
|
|
|
- DeriveTraversable
|
|
|
|
- DerivingStrategies
|
2019-07-21 03:50:56 +03:00
|
|
|
- EmptyCase
|
2019-05-20 04:53:32 +03:00
|
|
|
- EmptyDataDecls
|
2019-07-21 07:13:21 +03:00
|
|
|
- EmptyDataDeriving
|
2019-05-20 04:53:32 +03:00
|
|
|
- FlexibleContexts
|
|
|
|
- FlexibleInstances
|
|
|
|
- FunctionalDependencies
|
|
|
|
- GADTs
|
|
|
|
- GeneralizedNewtypeDeriving
|
|
|
|
- LambdaCase
|
2019-07-12 00:41:09 +03:00
|
|
|
- MagicHash
|
2019-05-20 04:53:32 +03:00
|
|
|
- MultiParamTypeClasses
|
|
|
|
- NamedFieldPuns
|
|
|
|
- NoImplicitPrelude
|
|
|
|
- NumericUnderscores
|
|
|
|
- OverloadedStrings
|
2019-07-21 02:47:35 +03:00
|
|
|
- PackageImports
|
2019-05-20 04:53:32 +03:00
|
|
|
- PartialTypeSignatures
|
2019-07-12 00:41:09 +03:00
|
|
|
- PatternSynonyms
|
2019-05-20 04:53:32 +03:00
|
|
|
- QuasiQuotes
|
|
|
|
- Rank2Types
|
|
|
|
- RankNTypes
|
|
|
|
- RecordWildCards
|
|
|
|
- ScopedTypeVariables
|
2019-06-27 01:51:30 +03:00
|
|
|
- StandaloneDeriving
|
2019-05-20 04:53:32 +03:00
|
|
|
- TemplateHaskell
|
|
|
|
- TupleSections
|
|
|
|
- TypeApplications
|
|
|
|
- TypeFamilies
|
2019-06-27 01:51:30 +03:00
|
|
|
- TypeOperators
|
2019-07-12 00:41:09 +03:00
|
|
|
- UnboxedTuples
|
2019-05-20 04:53:32 +03:00
|
|
|
- UnicodeSyntax
|
|
|
|
- ViewPatterns
|
2019-08-13 07:57:30 +03:00
|
|
|
|
|
|
|
executables:
|
|
|
|
king:
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: app
|
|
|
|
dependencies: ["king"]
|
2019-08-30 11:57:05 +03:00
|
|
|
when:
|
|
|
|
- condition: flag(Release)
|
|
|
|
then:
|
|
|
|
cc-options: -static
|
|
|
|
ld-options: -static -pthread
|
|
|
|
else: {}
|
2019-08-13 07:57:30 +03:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
- -rtsopts
|
2019-08-30 11:57:05 +03:00
|
|
|
- -static
|
|
|
|
- -O2
|
2019-08-13 07:57:30 +03:00
|
|
|
- "-with-rtsopts=-N"
|
|
|
|
- -fwarn-incomplete-patterns
|