2021-10-12 21:42:46 +03:00
|
|
|
name: unison-cli
|
|
|
|
github: unisonweb/unison
|
|
|
|
copyright: Copyright (C) 2013-2018 Unison Computing, PBC and contributors
|
|
|
|
|
|
|
|
flags:
|
|
|
|
optimized:
|
|
|
|
manual: true
|
|
|
|
default: false
|
|
|
|
|
2021-11-05 07:40:50 +03:00
|
|
|
ghc-options: -Wall
|
|
|
|
|
|
|
|
dependencies:
|
2022-01-21 01:53:19 +03:00
|
|
|
- semialign
|
|
|
|
- these
|
2021-11-05 07:40:50 +03:00
|
|
|
- ListLike
|
|
|
|
- async
|
|
|
|
- base
|
|
|
|
- bytestring
|
|
|
|
- configurator
|
|
|
|
- containers >= 0.6.3
|
2021-11-19 00:20:58 +03:00
|
|
|
- nonempty-containers
|
2021-11-05 07:40:50 +03:00
|
|
|
- cryptonite
|
|
|
|
- directory
|
|
|
|
- errors
|
|
|
|
- extra
|
|
|
|
- filepath
|
|
|
|
- haskeline
|
|
|
|
- lens
|
|
|
|
- megaparsec >= 5.0.0 && < 7.0.0
|
|
|
|
- mtl
|
2021-11-13 01:29:58 +03:00
|
|
|
- transformers
|
2021-11-05 07:40:50 +03:00
|
|
|
- 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
|
2022-03-09 20:21:24 +03:00
|
|
|
- unison-pretty-printer
|
2021-11-05 07:40:50 +03:00
|
|
|
- unliftio
|
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
2021-12-13 21:35:05 +03:00
|
|
|
when:
|
|
|
|
- condition: '!os(windows)'
|
|
|
|
dependencies: unix
|
2021-11-05 07:40:50 +03:00
|
|
|
|
|
|
|
tests:
|
|
|
|
tests:
|
|
|
|
dependencies:
|
2022-02-17 19:49:05 +03:00
|
|
|
- code-page
|
2021-11-05 07:40:50 +03:00
|
|
|
- easytest
|
|
|
|
- here
|
|
|
|
- shellmet
|
|
|
|
- temporary
|
|
|
|
- unison-cli
|
|
|
|
main: Main.hs
|
|
|
|
source-dirs: tests
|
|
|
|
|
2021-10-12 21:42:46 +03:00
|
|
|
executables:
|
|
|
|
unison:
|
|
|
|
source-dirs: unison
|
|
|
|
main: Main.hs
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-I0 -optP-Wno-nonportable-include-path
|
|
|
|
dependencies:
|
2022-02-17 19:49:05 +03:00
|
|
|
- code-page
|
2021-10-12 21:42:46 +03:00
|
|
|
- optparse-applicative >= 0.16.1.0
|
|
|
|
- shellmet
|
|
|
|
- template-haskell
|
|
|
|
- temporary
|
2021-11-05 07:40:50 +03:00
|
|
|
- unison-cli
|
2021-10-12 21:42:46 +03:00
|
|
|
|
2021-10-12 21:56:21 +03:00
|
|
|
transcripts:
|
|
|
|
source-dirs: transcripts
|
|
|
|
main: Transcripts.hs
|
|
|
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N -v0
|
|
|
|
dependencies:
|
2022-02-19 09:18:22 +03:00
|
|
|
- code-page
|
2021-10-12 21:56:21 +03:00
|
|
|
- easytest
|
|
|
|
- process
|
2021-11-05 07:40:50 +03:00
|
|
|
- shellmet
|
2022-02-23 20:00:51 +03:00
|
|
|
- unison-cli
|
2021-10-12 21:56:21 +03:00
|
|
|
|
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:
|
2022-02-19 09:18:22 +03:00
|
|
|
- code-page
|
2021-10-24 11:08:34 +03:00
|
|
|
- easytest
|
|
|
|
- process
|
|
|
|
- shellmet
|
2021-11-03 19:59:44 +03:00
|
|
|
- time
|
2022-02-19 02:48:20 +03:00
|
|
|
build-tools:
|
|
|
|
- unison-cli:unison
|
2021-10-12 21:42:46 +03:00
|
|
|
|
|
|
|
when:
|
|
|
|
- condition: flag(optimized)
|
|
|
|
ghc-options: -O2 -funbox-strict-fields
|
2021-11-05 07:40:50 +03:00
|
|
|
|
|
|
|
default-extensions:
|
|
|
|
- ApplicativeDo
|
|
|
|
- BangPatterns
|
|
|
|
- BlockArguments
|
|
|
|
- DeriveFunctor
|
2021-11-10 20:03:59 +03:00
|
|
|
- DeriveFoldable
|
|
|
|
- DeriveTraversable
|
2021-11-05 07:40:50 +03:00
|
|
|
- DeriveGeneric
|
|
|
|
- DerivingStrategies
|
|
|
|
- DoAndIfThenElse
|
|
|
|
- FlexibleContexts
|
|
|
|
- FlexibleInstances
|
|
|
|
- GeneralizedNewtypeDeriving
|
|
|
|
- LambdaCase
|
|
|
|
- MultiParamTypeClasses
|
|
|
|
- NamedFieldPuns
|
|
|
|
- OverloadedStrings
|
|
|
|
- PatternSynonyms
|
|
|
|
- RankNTypes
|
|
|
|
- ScopedTypeVariables
|
|
|
|
- TupleSections
|
|
|
|
- TypeApplications
|
|
|
|
- ViewPatterns
|