urbit/pkg/king/package.yaml

166 lines
2.7 KiB
YAML
Raw Normal View History

2019-08-13 07:57:30 +03:00
name: king
version: 0.1.0
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
2019-07-12 22:18:14 +03:00
- -Werror
- -O2
tests:
2019-08-13 07:57:30 +03:00
king-tests:
source-dirs: test
main: Main.hs
2019-08-13 07:57:30 +03:00
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
2019-07-16 05:20:23 +03:00
- directory
2019-07-16 03:01:45 +03:00
- entropy
- exceptions
- extra
2019-06-12 23:47:36 +03:00
- fixed-vector
- flat
- ghc-prim
2019-06-30 06:05:45 +03:00
- hashable
- hashtables
- http-client
- http-types
- integer-gmp
2019-07-03 02:37:10 +03:00
- iproute
- largeword
- lens
- lmdb
- lock-file
- megaparsec
- mtl
- multimap
2019-07-03 02:37:10 +03:00
- network
- optparse-applicative
- para
- pretty-show
- primitive
- process
- QuickCheck
- random
2019-07-22 21:10:27 +03:00
- regex-tdfa
- regex-tdfa-text
- resourcet
- rio
- sdl2
- sdl2-image
- semigroups
- smallcheck
- stm
- stm-chans
- tasty
- tasty-quickcheck
- tasty-th
- template-haskell
- terminal-progress-bar
- terminfo
- text
- these
- time
- transformers
- unix
2019-08-28 14:45:49 +03:00
- unliftio
- unliftio-core
- unordered-containers
- urbit-hob
- utf8-string
- vector
- wai
2019-08-03 22:26:45 +03:00
- wai-conduit
- warp
- warp-tls
- websockets
- data-default
default-extensions:
- ApplicativeDo
- BangPatterns
- BlockArguments
2019-06-27 01:51:30 +03:00
- 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
2019-06-27 01:51:30 +03:00
- StandaloneDeriving
- TemplateHaskell
- TupleSections
- TypeApplications
- TypeFamilies
2019-06-27 01:51:30 +03:00
- TypeOperators
- UnboxedTuples
- UnicodeSyntax
- ViewPatterns
2019-08-13 07:57:30 +03:00
executables:
king:
main: Main.hs
source-dirs: app
dependencies: ["king"]
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
- -static
- -O2
2019-08-13 07:57:30 +03:00
- "-with-rtsopts=-N"
- -fwarn-incomplete-patterns