ghcide/haskell-ide-core.cabal
Neil Mitchell a290aab694 Add a haskell-ide-core demo project (#1251)
* Demo program for haskell-ide-core as a library

* Fix all warnings in the Demo file

* Build the IDE demo

* Give a better error message than undefined

* HLint

* Fix copyright header

* Sort the dependencies

* Improve the comment

* Bazel formatting

* Disable building on Windows until ghc-paths is fixed

* Bazel formatting

* Specify the main function
2019-05-20 16:36:08 +01:00

119 lines
3.0 KiB
Plaintext

cabal-version: >= 1.18
build-type: Simple
name: haskell-ide-core
version: 0
license: BSD3
x-license: BSD3 OR Apache2
author: Digital Asset
maintainer: Digital Asset
copyright: Digital Asset 2018-2019
synopsis: The core of an IDE
description:
A library for building Haskell IDE's on top of the GHC API.
homepage: https://github.com/digital-asset/daml#readme
bug-reports: https://github.com/digital-asset/daml/issues
tested-with: GHC==8.6.5
source-repository head
type: git
location: https://github.com/digital-asset/daml.git
library
default-language: Haskell2010
build-depends:
aeson,
base == 4.*,
binary,
bytestring,
containers,
deepseq,
directory,
either,
extra,
filepath,
ghc,
ghc-boot-th,
ghc-boot,
hashable,
haskell-lsp,
haskell-lsp-types,
mtl,
pretty,
safe-exceptions,
shake,
stm,
syb,
text,
time,
prettyprinter,
prettyprinter-ansi-terminal,
transformers,
uniplate,
unordered-containers,
uri-encode
cpp-options: -DGHC_STABLE
default-extensions:
LambdaCase
BangPatterns
DeriveGeneric
RecordWildCards
ScopedTypeVariables
NamedFieldPuns
TupleSections
TypeApplications
ViewPatterns
GeneralizedNewtypeDeriving
StandaloneDeriving
hs-source-dirs:
src
../../libs-haskell/prettyprinter-syntax/src
exposed-modules:
Development.IDE.Logger
Development.IDE.UtilGHC
Development.IDE.Functions.AtPoint
Development.IDE.Functions.Compile
Development.IDE.Functions.CPP
Development.IDE.Orphans
Development.IDE.Functions.DependencyInformation
Development.IDE.Functions.Documentation
Development.IDE.Functions.FindImports
Development.IDE.Functions.GHCError
Development.IDE.Functions.SpanInfo
Development.IDE.Functions.Warnings
Development.IDE.State.FileStore
Development.IDE.State.Rules
Development.IDE.Compat
Development.IDE.Types.Options
Development.IDE.State.RuleTypes
Development.IDE.State.Service
Development.IDE.State.Shake
Development.IDE.Types.Diagnostics
Development.IDE.Types.Location
Development.IDE.Types.LSP
Development.IDE.Types.SpanInfo
other-modules:
Data.Text.Prettyprint.Doc.Syntax
executable ide-demo
default-language: Haskell2010
main-is: Demo.hs
ghc-options: -main-is Demo.main
build-depends:
base == 4.*,
filepath,
containers,
shake,
ghc-paths,
ghc,
extra,
text,
haskell-ide-core
default-extensions:
TupleSections
RecordWildCards
hs-source-dirs: test