mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 09:51:36 +03:00
ec372efb31
Using websockets because it would be nice to eventually have a terminal in the Electron client. This is prototype-quality code. Using the built-in client/server from the `websockets` package, but that's just for testing.
147 lines
2.3 KiB
YAML
147 lines
2.3 KiB
YAML
name: king
|
|
version: 0.1.0
|
|
license: AGPL-3.0-only
|
|
|
|
library:
|
|
source-dirs: lib
|
|
ghc-options:
|
|
- -fwarn-incomplete-patterns
|
|
- -fwarn-unused-binds
|
|
- -fwarn-unused-imports
|
|
- -Werror
|
|
- -O2
|
|
|
|
tests:
|
|
king-tests:
|
|
source-dirs: test
|
|
main: Main.hs
|
|
dependencies: king
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
|
|
dependencies:
|
|
- async
|
|
- base
|
|
- base-unicode-symbols
|
|
- binary
|
|
- bytestring
|
|
- case-insensitive
|
|
- classy-prelude
|
|
- conduit
|
|
- containers
|
|
- data-fix
|
|
- directory
|
|
- entropy
|
|
- exceptions
|
|
- extra
|
|
- fixed-vector
|
|
- flat
|
|
- ghc-prim
|
|
- hashable
|
|
- hashtables
|
|
- http-client
|
|
- http-types
|
|
- integer-gmp
|
|
- iproute
|
|
- largeword
|
|
- lens
|
|
- lmdb
|
|
- megaparsec
|
|
- mtl
|
|
- multimap
|
|
- network
|
|
- optparse-applicative
|
|
- para
|
|
- pretty-show
|
|
- primitive
|
|
- process
|
|
- QuickCheck
|
|
- random
|
|
- regex-tdfa
|
|
- regex-tdfa-text
|
|
- resourcet
|
|
- rio
|
|
- sdl2
|
|
- sdl2-image
|
|
- semigroups
|
|
- smallcheck
|
|
- stm
|
|
- stm-chans
|
|
- tasty
|
|
- tasty-quickcheck
|
|
- tasty-th
|
|
- template-haskell
|
|
- text
|
|
- these
|
|
- time
|
|
- transformers
|
|
- unix
|
|
- unliftio
|
|
- unliftio-core
|
|
- unordered-containers
|
|
- vector
|
|
- wai
|
|
- wai-conduit
|
|
- warp
|
|
- warp-tls
|
|
- websockets
|
|
|
|
default-extensions:
|
|
- ApplicativeDo
|
|
- BangPatterns
|
|
- BlockArguments
|
|
- DataKinds
|
|
- DefaultSignatures
|
|
- DeriveAnyClass
|
|
- DeriveDataTypeable
|
|
- DeriveFoldable
|
|
- DeriveGeneric
|
|
- DeriveTraversable
|
|
- DerivingStrategies
|
|
- EmptyCase
|
|
- EmptyDataDecls
|
|
- EmptyDataDeriving
|
|
- FlexibleContexts
|
|
- FlexibleInstances
|
|
- FunctionalDependencies
|
|
- GADTs
|
|
- GeneralizedNewtypeDeriving
|
|
- LambdaCase
|
|
- MagicHash
|
|
- MultiParamTypeClasses
|
|
- NamedFieldPuns
|
|
- NoImplicitPrelude
|
|
- NumericUnderscores
|
|
- OverloadedStrings
|
|
- PackageImports
|
|
- PartialTypeSignatures
|
|
- PatternSynonyms
|
|
- QuasiQuotes
|
|
- Rank2Types
|
|
- RankNTypes
|
|
- RecordWildCards
|
|
- ScopedTypeVariables
|
|
- StandaloneDeriving
|
|
- TemplateHaskell
|
|
- TupleSections
|
|
- TypeApplications
|
|
- TypeFamilies
|
|
- TypeOperators
|
|
- UnboxedTuples
|
|
- UnicodeSyntax
|
|
- ViewPatterns
|
|
|
|
executables:
|
|
king:
|
|
main: Main.hs
|
|
source-dirs: app
|
|
dependencies: ["king"]
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- "-with-rtsopts=-N"
|
|
- -fwarn-incomplete-patterns
|
|
- -O0
|