cabal-version: 2.4 name: hspretty version: 0.1.0.0 synopsis: My opinionated Haskell project formatter. description: This is a formatter for Haskell projects (for example, for *.cabal files and *.hs files) that can perform both in-place formatting and formatting checks. In the background, it uses Ormolu and cabal-fmt. Please make sure that cabal-fmt is installed separately before running it, since it invokes cabal-fmt as a command-line utility. . It is licensed under the BSD-3-Clause license to match Ormolu and cabal-fmt. license: BSD-3-Clause author: Jonathan Merritt maintainer: j.s.merritt@gmail.com copyright: Copyright (C) Jonathan Merritt 2021 category: Tools extra-source-files: CHANGELOG.md source-repository head type: git location: https://github.com/lancelet/hspretty.git common base default-language: Haskell2010 build-depends: base ^>=4.14.1.0 common ghc-options ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints library import: base, ghc-options hs-source-dirs: src exposed-modules: CLI Formatter Formatters.CabalFmt Formatters.Ormolu Log PathFilter RunMode build-depends: , ansi-terminal ^>=0.11 , bytestring ^>=0.10.12.0 , directory ^>=1.3.6.0 , optparse-applicative ^>=0.16.1.0 , ormolu ^>=0.1.4.1 , path ^>=0.8.0 , path-io ^>=1.6.2 , process ^>=1.6.11.0 , streamly ^>=0.7.3 , text ^>=1.2.4.1 , text-short ^>=0.1.3 , unliftio ^>=0.2.16 , void ^>=0.7.3 test-suite hspretty-test import: base, ghc-options type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Test.hs build-depends: doctest ^>=0.18.1 executable hspretty import: base, ghc-options main-is: Main.hs hs-source-dirs: app ghc-options: -threaded -rtsopts "-with-rtsopts=-N -T" build-depends: hspretty