cabal-version: 2.4
name: hls-ormolu-plugin
version: 1.0.1.0
synopsis: Integration with the Ormolu code formatter
description:
Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
license: Apache-2.0
license-file: LICENSE
author: The Haskell IDE Team
copyright: The Haskell IDE Team
maintainer: alan.zimm@gmail.com
category: Development
build-type: Simple
extra-source-files:
LICENSE
test/testdata/**/*.hs
library
exposed-modules: Ide.Plugin.Ormolu
hs-source-dirs: src
build-depends:
, base >=4.12 && <5
, filepath
, ghc
, ghc-boot-th
, ghcide >=1.2 && <1.5
, hls-plugin-api >=1.1 && <1.3
, lens
, lsp
, ormolu ^>=0.1.2 || ^>= 0.2
, text
default-language: Haskell2010
if impl(ghc < 8.10.5)
build-depends:
ghc-api-compat ==8.6
elif impl(ghc == 8.10.5)
build-depends:
ghc-api-compat ==8.10.5
elif impl(ghc == 8.10.6)
build-depends:
ghc-api-compat ==8.10.6
elif impl(ghc == 8.10.7)
build-depends:
ghc-api-compat ==8.10.7
elif impl(ghc == 9.0.1)
build-depends:
ghc-api-compat ==9.0.1
test-suite tests
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
, base
, filepath
, hls-ormolu-plugin
, hls-test-utils >=1.0 && <1.2
, lsp-types