unison/unison-cli/package.yaml
2022-01-17 11:15:21 -06:00

122 lines
2.2 KiB
YAML

name: unison-cli
github: unisonweb/unison
copyright: Copyright (C) 2013-2018 Unison Computing, PBC and contributors
flags:
optimized:
manual: true
default: false
ghc-options: -Wall
dependencies:
- semigroupoids
- pretty-simple
- ListLike
- async
- base
- bytestring
- configurator
- containers >= 0.6.3
- nonempty-containers
- cryptonite
- directory
- errors
- extra
- filepath
- haskeline
- lens
- megaparsec >= 5.0.0 && < 7.0.0
- mtl
- transformers
- open-browser
- random >= 1.2.0
- regex-tdfa
- stm
- text
- unison-codebase-sqlite
- unison-core1
- unison-parser-typechecker
- unison-prelude
- unison-util
- unison-util-relation
- unliftio
library:
source-dirs: src
when:
- condition: '!os(windows)'
dependencies: unix
tests:
tests:
dependencies:
- easytest
- here
- shellmet
- temporary
- unison-cli
main: Main.hs
source-dirs: tests
executables:
unison:
source-dirs: unison
main: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-I0 -optP-Wno-nonportable-include-path
dependencies:
- optparse-applicative >= 0.16.1.0
- shellmet
- template-haskell
- temporary
- unison-cli
transcripts:
source-dirs: transcripts
main: Transcripts.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -v0
dependencies:
- easytest
- process
- shellmet
build-tools:
- unison-cli:unison
integration-tests:
source-dirs: integration-tests
main: Suite.hs
ghc-options: -W -threaded -rtsopts "-with-rtsopts=-N -T" -v0
dependencies:
- easytest
- process
- shellmet
- time
when:
- condition: flag(optimized)
ghc-options: -O2 -funbox-strict-fields
default-extensions:
- ApplicativeDo
- BangPatterns
- BlockArguments
- DeriveFunctor
- DeriveFoldable
- DeriveTraversable
- DeriveGeneric
- DerivingStrategies
- DoAndIfThenElse
- FlexibleContexts
- FlexibleInstances
- GeneralizedNewtypeDeriving
- LambdaCase
- MultiParamTypeClasses
- NamedFieldPuns
- OverloadedStrings
- PatternSynonyms
- RankNTypes
- ScopedTypeVariables
- TupleSections
- TypeApplications
- ViewPatterns