mirror of
https://github.com/haskell/haskell-ide-engine.git
synced 2024-10-26 11:18:42 +03:00
352 lines
12 KiB
Plaintext
352 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
|
|
Manual: True
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
exposed-modules: Haskell.Ide.Engine.Channel
|
|
Haskell.Ide.Engine.CodeActions
|
|
Haskell.Ide.Engine.Completions
|
|
Haskell.Ide.Engine.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.HaRe
|
|
Haskell.Ide.Engine.Plugin.Haddock
|
|
Haskell.Ide.Engine.Plugin.HfaAlign
|
|
Haskell.Ide.Engine.Plugin.HsImport
|
|
Haskell.Ide.Engine.Plugin.Liquid
|
|
Haskell.Ide.Engine.Plugin.Ormolu
|
|
Haskell.Ide.Engine.Plugin.Package
|
|
Haskell.Ide.Engine.Plugin.Package.Compat
|
|
Haskell.Ide.Engine.Plugin.Pragmas
|
|
Haskell.Ide.Engine.Plugin.Generic
|
|
Haskell.Ide.Engine.Plugin.GhcMod
|
|
Haskell.Ide.Engine.Scheduler
|
|
Haskell.Ide.Engine.Support.FromHaRe
|
|
Haskell.Ide.Engine.Support.Hoogle
|
|
Haskell.Ide.Engine.Support.Fuzzy
|
|
Haskell.Ide.Engine.Support.HieExtras
|
|
Haskell.Ide.Engine.Server
|
|
Haskell.Ide.Engine.Types
|
|
Haskell.Ide.Engine.Version
|
|
|
|
other-modules: Paths_haskell_ide_engine
|
|
autogen-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 >= 1.0
|
|
, 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.8
|
|
if impl(ghc >= 8.6)
|
|
build-depends: ormolu >= 0.0.3.1
|
|
|
|
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, RunTest
|
|
autogen-modules: Paths_haskell_ide_engine
|
|
build-depends: base
|
|
, containers
|
|
, data-default
|
|
, directory
|
|
, filepath
|
|
, ghc
|
|
, hie-bios
|
|
, haskell-ide-engine
|
|
, haskell-lsp
|
|
, haskell-lsp-types
|
|
, hie-plugin-api
|
|
, hslogger
|
|
, optparse-simple
|
|
, stm
|
|
, text
|
|
, yaml
|
|
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
|
|
autogen-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
|
|
CabalHelperSpec
|
|
CodeActionsSpec
|
|
ContextSpec
|
|
DiffSpec
|
|
ExtensibleStateSpec
|
|
GenericPluginSpec
|
|
GhcModPluginSpec
|
|
-- HaRePluginSpec
|
|
HooglePluginSpec
|
|
HsImportSpec
|
|
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
|
|
, cabal-helper
|
|
, ghc
|
|
, base
|
|
, bytestring
|
|
, containers
|
|
, directory
|
|
, filepath
|
|
, free
|
|
, ghc
|
|
, haskell-ide-engine
|
|
, haskell-lsp-types == 0.19.*
|
|
, hie-bios
|
|
, 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
|
|
, directory
|
|
, filepath
|
|
, 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.10.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
|