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:
|
|
|
|
- ListLike
|
2022-04-12 23:22:04 +03:00
|
|
|
- aeson
|
2022-05-05 22:06:36 +03:00
|
|
|
- aeson-pretty
|
2021-11-05 07:40:50 +03:00
|
|
|
- async
|
|
|
|
- base
|
2022-04-12 15:40:42 +03:00
|
|
|
- bytes
|
2021-11-05 07:40:50 +03:00
|
|
|
- bytestring
|
|
|
|
- configurator
|
|
|
|
- containers >= 0.6.3
|
|
|
|
- cryptonite
|
|
|
|
- directory
|
2022-04-12 23:22:04 +03:00
|
|
|
- either
|
2021-11-05 07:40:50 +03:00
|
|
|
- errors
|
|
|
|
- extra
|
|
|
|
- filepath
|
2022-04-11 17:12:11 +03:00
|
|
|
- generic-lens
|
2021-11-05 07:40:50 +03:00
|
|
|
- haskeline
|
2022-04-12 23:22:04 +03:00
|
|
|
- http-client >= 0.7.6
|
|
|
|
- http-client-tls
|
|
|
|
- http-types
|
|
|
|
- jwt
|
2021-11-05 07:40:50 +03:00
|
|
|
- lens
|
2022-04-12 23:22:04 +03:00
|
|
|
- lock-file
|
2021-11-05 07:40:50 +03:00
|
|
|
- megaparsec >= 5.0.0 && < 7.0.0
|
2022-04-12 23:22:04 +03:00
|
|
|
- memory
|
2021-11-05 07:40:50 +03:00
|
|
|
- mtl
|
2022-04-12 23:22:04 +03:00
|
|
|
- network-uri
|
|
|
|
- nonempty-containers
|
2021-11-05 07:40:50 +03:00
|
|
|
- open-browser
|
2022-03-31 20:20:33 +03:00
|
|
|
- pretty-simple
|
2021-11-05 07:40:50 +03:00
|
|
|
- random >= 1.2.0
|
|
|
|
- regex-tdfa
|
2022-04-12 23:22:04 +03:00
|
|
|
- semialign
|
|
|
|
- servant
|
|
|
|
- servant-client
|
2021-11-05 07:40:50 +03:00
|
|
|
- stm
|
|
|
|
- text
|
2022-04-12 23:22:04 +03:00
|
|
|
- these
|
|
|
|
- time
|
|
|
|
- transformers
|
2022-04-05 01:10:38 +03:00
|
|
|
- unison-codebase
|
2021-11-05 07:40:50 +03:00
|
|
|
- unison-codebase-sqlite
|
2022-05-27 19:51:01 +03:00
|
|
|
- unison-sqlite
|
2021-11-05 07:40:50 +03:00
|
|
|
- unison-core1
|
|
|
|
- unison-parser-typechecker
|
|
|
|
- unison-prelude
|
2022-04-12 23:22:04 +03:00
|
|
|
- unison-pretty-printer
|
|
|
|
- unison-share-api
|
2022-04-20 05:29:24 +03:00
|
|
|
- unison-sqlite
|
2021-11-05 07:40:50 +03:00
|
|
|
- unison-util
|
2022-04-12 22:51:03 +03:00
|
|
|
- unison-util-base32hex
|
2021-11-05 07:40:50 +03:00
|
|
|
- unison-util-relation
|
|
|
|
- unliftio
|
2022-04-12 23:22:04 +03:00
|
|
|
- vector
|
2022-03-30 22:19:48 +03:00
|
|
|
- wai
|
2022-04-12 23:22:04 +03:00
|
|
|
- warp
|
2021-11-05 07:40:50 +03:00
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
2021-12-13 21:35:05 +03:00
|
|
|
when:
|
|
|
|
- condition: '!os(windows)'
|
|
|
|
dependencies: unix
|
2022-06-03 00:10:59 +03:00
|
|
|
- condition: false
|
|
|
|
other-modules: Paths_unison_cli
|
2021-11-05 07:40:50 +03:00
|
|
|
|
|
|
|
tests:
|
2022-04-07 19:16:13 +03:00
|
|
|
cli-tests:
|
2022-06-03 00:10:59 +03:00
|
|
|
when:
|
|
|
|
- condition: false
|
|
|
|
other-modules: Paths_unison_cli
|
2021-11-05 07:40:50 +03:00
|
|
|
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:
|
2022-06-03 00:10:59 +03:00
|
|
|
when:
|
|
|
|
- condition: false
|
|
|
|
other-modules: Paths_unison_cli
|
2021-10-12 21:42:46 +03:00
|
|
|
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:
|
2022-06-03 00:10:59 +03:00
|
|
|
when:
|
|
|
|
- condition: false
|
|
|
|
other-modules: Paths_unison_cli
|
2021-10-12 21:56:21 +03:00
|
|
|
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
|
|
|
|
2022-04-07 19:16:13 +03:00
|
|
|
cli-integration-tests:
|
2022-06-03 00:10:59 +03:00
|
|
|
when:
|
|
|
|
- condition: false
|
|
|
|
other-modules: Paths_unison_cli
|
2021-10-24 11:08:34 +03:00
|
|
|
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
|
2022-04-05 01:10:38 +03:00
|
|
|
- DuplicateRecordFields
|
2021-11-05 07:40:50 +03:00
|
|
|
- FlexibleContexts
|
|
|
|
- FlexibleInstances
|
|
|
|
- GeneralizedNewtypeDeriving
|
|
|
|
- LambdaCase
|
|
|
|
- MultiParamTypeClasses
|
|
|
|
- NamedFieldPuns
|
2022-04-05 01:10:38 +03:00
|
|
|
- OverloadedLabels
|
2021-11-05 07:40:50 +03:00
|
|
|
- OverloadedStrings
|
|
|
|
- PatternSynonyms
|
|
|
|
- RankNTypes
|
|
|
|
- ScopedTypeVariables
|
|
|
|
- TupleSections
|
|
|
|
- TypeApplications
|
|
|
|
- ViewPatterns
|