1cabal-version: 2.4 2name: hls-ormolu-plugin 3version: 1.0.1.0 4synopsis: Integration with the Ormolu code formatter 5description: 6 Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme> 7 8license: Apache-2.0 9license-file: LICENSE 10author: The Haskell IDE Team 11copyright: The Haskell IDE Team 12maintainer: alan.zimm@gmail.com 13category: Development 14build-type: Simple 15extra-source-files: 16 LICENSE 17 test/testdata/**/*.hs 18 19library 20 exposed-modules: Ide.Plugin.Ormolu 21 hs-source-dirs: src 22 build-depends: 23 , base >=4.12 && <5 24 , filepath 25 , ghc 26 , ghc-boot-th 27 , ghcide >=1.2 && <1.5 28 , hls-plugin-api >=1.1 && <1.3 29 , lens 30 , lsp 31 , ormolu ^>=0.1.2 || ^>= 0.2 32 , text 33 34 default-language: Haskell2010 35 36 if impl(ghc < 8.10.5) 37 build-depends: 38 ghc-api-compat ==8.6 39 elif impl(ghc == 8.10.5) 40 build-depends: 41 ghc-api-compat ==8.10.5 42 elif impl(ghc == 8.10.6) 43 build-depends: 44 ghc-api-compat ==8.10.6 45 elif impl(ghc == 8.10.7) 46 build-depends: 47 ghc-api-compat ==8.10.7 48 elif impl(ghc == 9.0.1) 49 build-depends: 50 ghc-api-compat ==9.0.1 51 52test-suite tests 53 type: exitcode-stdio-1.0 54 default-language: Haskell2010 55 hs-source-dirs: test 56 main-is: Main.hs 57 ghc-options: -threaded -rtsopts -with-rtsopts=-N 58 build-depends: 59 , base 60 , filepath 61 , hls-ormolu-plugin 62 , hls-test-utils >=1.0 && <1.2 63 , lsp-types 64