unison/unison-cli/package.yaml

88 lines
1.8 KiB
YAML
Raw Normal View History

2021-10-12 21:42:46 +03:00
name: unison-cli
github: unisonweb/unison
copyright: Copyright (C) 2013-2018 Unison Computing, PBC and contributors
default-extensions:
- ApplicativeDo
- BlockArguments
- DeriveFunctor
- DerivingStrategies
- DoAndIfThenElse
- FlexibleContexts
- FlexibleInstances
- LambdaCase
- MultiParamTypeClasses
- ScopedTypeVariables
- TupleSections
- TypeApplications
flags:
optimized:
manual: true
default: false
executables:
unison:
source-dirs: unison
main: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-I0 -optP-Wno-nonportable-include-path
dependencies:
- base
2021-10-13 22:36:35 +03:00
- bytestring
2021-10-12 21:42:46 +03:00
- configurator
- directory
- directory
- errors
- filepath
- megaparsec
- mtl
- optparse-applicative >= 0.16.1.0
- shellmet
- template-haskell
- temporary
- text
- unison-core1
- unison-parser-typechecker
- unison-prelude
- unliftio
when:
- condition: '!os(windows)'
dependencies: unix
transcripts:
source-dirs: transcripts
main: Transcripts.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N -v0
dependencies:
- base
- directory
- easytest
- filepath
- shellmet
- process
- text
- unison-core1
- unison-parser-typechecker
- unison-prelude
build-tools:
- unison-cli:unison
2021-10-24 11:08:34 +03:00
integration-tests:
source-dirs: integration-tests
main: Suite.hs
ghc-options: -W -threaded -rtsopts "-with-rtsopts=-N -T" -v0
dependencies:
- base
- easytest
- process
- shellmet
- text
2021-11-03 19:59:44 +03:00
- time
2021-10-24 11:08:34 +03:00
- unison-core1
- unison-parser-typechecker
- unison-prelude
2021-10-12 21:42:46 +03:00
when:
- condition: flag(optimized)
ghc-options: -O2 -funbox-strict-fields