haskell-ide-engine/haskell-ide-engine.cabal

331 lines
12 KiB
Plaintext

name: haskell-ide-engine
version: 1.0.0.0
synopsis: Provide a common engine to power any Haskell IDE
description: Please see README.md
homepage: http://github.com/githubuser/haskell-ide-engine#readme
license: BSD3
license-file: LICENSE
author: Many, TBD when we release
maintainer: alan.zimm@gmail.com (for now)
copyright: 2015 - 2019, TBD
category: Web
build-type: Simple
-- cabal-helper for cabal 2.2/GHC 8.4 needs a cabal version >= 2
cabal-version: >=2.0
flag pedantic
Description: Enable -Werror
Default: False
library
hs-source-dirs: src
exposed-modules: Haskell.Ide.Engine.Channel
Haskell.Ide.Engine.LSP.CodeActions
Haskell.Ide.Engine.LSP.Completions
Haskell.Ide.Engine.Plugin.Base
Haskell.Ide.Engine.LSP.Reactor
Haskell.Ide.Engine.Options
Haskell.Ide.Engine.Plugin.ApplyRefact
Haskell.Ide.Engine.Plugin.Brittany
Haskell.Ide.Engine.Plugin.Example2
Haskell.Ide.Engine.Plugin.Floskell
Haskell.Ide.Engine.Plugin.Bios
-- Haskell.Ide.Engine.Plugin.HaRe
Haskell.Ide.Engine.Plugin.Haddock
Haskell.Ide.Engine.Plugin.HfaAlign
Haskell.Ide.Engine.Plugin.Hoogle
Haskell.Ide.Engine.Plugin.HsImport
Haskell.Ide.Engine.Plugin.Liquid
Haskell.Ide.Engine.Plugin.Package
Haskell.Ide.Engine.Plugin.Package.Compat
Haskell.Ide.Engine.Plugin.Pragmas
Haskell.Ide.Engine.Plugin.Generic
Haskell.Ide.Engine.Scheduler
Haskell.Ide.Engine.Support.FromHaRe
Haskell.Ide.Engine.Support.Fuzzy
Haskell.Ide.Engine.Support.HieExtras
Haskell.Ide.Engine.Transport.JsonStdio
Haskell.Ide.Engine.Transport.LspStdio
Haskell.Ide.Engine.Types
other-modules: Paths_haskell_ide_engine
build-depends: Cabal >= 1.22
, Diff
-- , HaRe
, aeson
, apply-refact
, async
, base >= 4.9 && < 5
, brittany
, bytestring
, Cabal
, cabal-helper >= 1.0 && < 1.1
, containers
, data-default
, directory
, filepath
, floskell == 0.10.*
, fold-debounce
, ghc >= 8.0.1
, ghc-exactprint
, gitrev >= 1.1
, haddock-api
, haddock-library
, haskell-lsp == 0.19.*
, haskell-lsp-types == 0.19.*
, haskell-src-exts
, hie-plugin-api
, hoogle >= 5.0.13
, hsimport
, hslogger
, lifted-async
, lens >= 4.15.2
, monoid-subclasses > 0.4
, mtl
, optparse-simple >= 0.0.3
, parsec
, process
, safe
, sorted-list >= 0.2.1.0
, stm
, syb
, tagsoup
, text
, transformers
, unix-time >= 0.4.7
, unordered-containers
, vector
, versions
, yaml >= 0.8.31
, hie-bios >= 0.3.2 && < 0.4.0
, bytestring-trie
, unliftio
, hlint >= 2.2.2
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
executable hie
hs-source-dirs: app
main-is: MainHie.hs
other-modules: Paths_haskell_ide_engine
build-depends: base
, directory
, filepath
, hie-bios
, haskell-ide-engine
, haskell-lsp
, hie-plugin-api
, hslogger
, optparse-simple
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
-with-rtsopts=-T
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
executable hie-wrapper
hs-source-dirs: app
main-is: HieWrapper.hs
other-modules: Paths_haskell_ide_engine
build-depends: base
, directory
, filepath
, hie-bios
, haskell-ide-engine
, haskell-lsp
, hie-plugin-api
, hslogger
, optparse-simple
, process
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
-with-rtsopts=-T
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
library hie-test-utils
hs-source-dirs: test/utils
exposed-modules: TestUtils
build-depends: base
, haskell-ide-engine
, haskell-lsp
, hie-bios
, hie-plugin-api
, aeson
, blaze-markup
, containers
, data-default
, directory
, filepath
, hslogger
, hspec
, hspec-core
, stm
, text
, unordered-containers
, yaml
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite unit-test
type: exitcode-stdio-1.0
hs-source-dirs: test/unit
main-is: Main.hs
other-modules: ApplyRefactPluginSpec
CodeActionsSpec
ContextSpec
DiffSpec
ExtensibleStateSpec
GenericPluginSpec
-- HaRePluginSpec
HooglePluginSpec
JsonSpec
LiquidSpec
PackagePluginSpec
Spec
-- Technically cabal-helper should be a 'run-tool-depends', but that doesn't exist yet
build-tool-depends: cabal-helper:cabal-helper-main, hspec-discover:hspec-discover
build-depends: QuickCheck
, aeson
, ghc
, base
, bytestring
, containers
, directory
, filepath
, free
, ghc
, haskell-ide-engine
, haskell-lsp-types == 0.19.*
, hie-test-utils
, hie-plugin-api
, hoogle > 5.0.11
, hspec
, process
, quickcheck-instances
, text
, unordered-containers
ghc-options: -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite dispatcher-test
type: exitcode-stdio-1.0
hs-source-dirs: test/dispatcher
main-is: Main.hs
build-depends: base
, aeson
, data-default
, directory
, filepath
, ghc
, haskell-ide-engine
, haskell-lsp-types
, hie-test-utils
, hie-plugin-api
, hspec
, stm
, text
, unordered-containers
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover
test-suite plugin-dispatcher-test
type: exitcode-stdio-1.0
hs-source-dirs: test/plugin-dispatcher
main-is: Main.hs
build-depends: base
, data-default
, haskell-ide-engine
, haskell-lsp-types
, hie-plugin-api
, hie-test-utils
, hspec
, stm
, text
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
test-suite func-test
type: exitcode-stdio-1.0
hs-source-dirs: test/functional
main-is: Main.hs
other-modules: CompletionSpec
, CommandSpec
, DeferredSpec
, DefinitionSpec
, DiagnosticsSpec
, FormatSpec
, FunctionalBadProjectSpec
, FunctionalCodeActionsSpec
, FunctionalLiquidSpec
, FunctionalSpec
-- , HaReSpec
, HieBiosSpec
, HighlightSpec
, HoverSpec
, ProgressSpec
, ReferencesSpec
, RenameSpec
, SymbolsSpec
, TypeDefinitionSpec
, Utils
build-depends: aeson
, base
, data-default
, directory
, filepath
, lsp-test >= 0.9.0.0
, haskell-ide-engine
, haskell-lsp-types == 0.19.*
, haskell-lsp == 0.19.*
, hie-test-utils
, hie-plugin-api
, hspec
, lens
, text
, unordered-containers
, containers
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
build-tool-depends: hspec-discover:hspec-discover
, haskell-ide-engine:hie
, cabal-helper:cabal-helper-main
test-suite wrapper-test
type: exitcode-stdio-1.0
hs-source-dirs: test/wrapper
main-is: HieWrapper.hs
build-depends: base
, hspec
, directory
, filepath
, process
, haskell-ide-engine
, hie-plugin-api
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -Wredundant-constraints
if flag(pedantic)
ghc-options: -Werror
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/haskell/haskell-ide-engine