mirror of
https://github.com/urbit/shrub.git
synced 2024-12-30 07:35:19 +03:00
8a09262092
Make the ames tests compile again, reading from a test instance of HasNetworkConfig without phony HasPierConfig data.
178 lines
2.8 KiB
YAML
178 lines
2.8 KiB
YAML
name: king
|
|
version: 0.9.1
|
|
license: AGPL-3.0-only
|
|
|
|
flags:
|
|
Release:
|
|
description: "Produce statically-linked executables"
|
|
default: false
|
|
manual: true
|
|
|
|
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
|
|
- cryptohash-sha256
|
|
- cryptohash-sha512
|
|
- data-default
|
|
- data-fix
|
|
- directory
|
|
- ed25519
|
|
- entropy
|
|
- exceptions
|
|
- extra
|
|
- filepath
|
|
- fixed-vector
|
|
- flat
|
|
- ghc-prim
|
|
- Glob
|
|
- hashable
|
|
- hashtables
|
|
- http-client
|
|
- http-client-tls
|
|
- http-types
|
|
- integer-gmp
|
|
- iproute
|
|
- largeword
|
|
- lens
|
|
- lmdb
|
|
- lock-file
|
|
- megaparsec
|
|
- memory
|
|
- mtl
|
|
- multimap
|
|
- murmur3
|
|
- 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-golden
|
|
- tasty-hunit
|
|
- tasty-quickcheck
|
|
- tasty-th
|
|
- template-haskell
|
|
- terminal-progress-bar
|
|
- terminal-size
|
|
- terminfo
|
|
- text
|
|
- these
|
|
- time
|
|
- transformers
|
|
- unix
|
|
- unliftio
|
|
- unliftio-core
|
|
- unordered-containers
|
|
- urbit-hob
|
|
- utf8-string
|
|
- vector
|
|
- wai
|
|
- wai-conduit
|
|
- warp
|
|
- warp-tls
|
|
- web3
|
|
- 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"]
|
|
when:
|
|
- condition: flag(Release)
|
|
then:
|
|
cc-options: -static
|
|
ld-options: -static -pthread
|
|
else: {}
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -static
|
|
- -O2
|
|
- "-with-rtsopts=-N"
|
|
- -fwarn-incomplete-patterns
|