1
1
mirror of https://github.com/google/ormolu.git synced 2024-11-23 22:27:16 +03:00
ormolu/ormolu.cabal

127 lines
5.1 KiB
Plaintext
Raw Normal View History

2018-11-25 16:34:28 +03:00
name: ormolu
version: 0.0.1.0
cabal-version: 1.18
tested-with: GHC==8.6.4
2018-11-25 16:34:28 +03:00
license: BSD3
license-file: LICENSE.md
maintainer: Mark Karpov <mark.karpov@tweag.io>
homepage: https://github.com/tweag/ormolu
bug-reports: https://github.com/tweag/ormolu/issues
category: Development, Formatting
synopsis: A formatter for Haskell source code
build-type: Simple
description: A formatter for Haskell source code.
extra-doc-files: CHANGELOG.md
, README.md
data-files: data/examples/declaration/data/*.hs
, data/examples/declaration/data/gadt/*.hs
, data/examples/declaration/type-families/closed-type-family/*.hs
, data/examples/declaration/type-families/data-family/*.hs
, data/examples/declaration/type-families/type-family/*.hs
, data/examples/declaration/type-synonyms/*.hs
, data/examples/import/*.hs
, data/examples/module-header/*.hs
, data/examples/other/*.hs
, data/printer/*.hs
2018-11-25 16:34:28 +03:00
source-repository head
type: git
location: https://github.com/tweag/ormolu.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
hs-source-dirs: src
build-depends: base >= 4.12 && < 5.0
2018-12-08 17:39:42 +03:00
, containers >= 0.5 && < 0.7
, dlist >= 0.8 && < 0.9
, exceptions >= 0.6 && < 0.11
2018-12-08 17:39:42 +03:00
, ghc >= 8.4.3
, ghc-boot-th >= 8.4.3
, ghc-paths >= 0.1 && < 0.2
2018-12-08 17:39:42 +03:00
, mtl >= 2.0 && < 3.0
2019-02-21 20:42:17 +03:00
, syb >= 0.7 && < 0.8
2018-12-08 17:39:42 +03:00
, text >= 0.2 && < 1.3
2019-02-24 23:38:10 +03:00
, yaml >= 0.8 && < 0.12
2018-11-25 16:34:28 +03:00
exposed-modules: Ormolu
, Ormolu.Anns
, Ormolu.CommentStream
, Ormolu.Config
, Ormolu.Diff
, Ormolu.Exception
2019-03-01 01:25:23 +03:00
, Ormolu.Imports
2018-11-25 16:34:28 +03:00
, Ormolu.Parser
, Ormolu.Printer
2018-12-08 17:39:42 +03:00
, Ormolu.Printer.Combinators
, Ormolu.Printer.Comments
2018-12-08 17:39:42 +03:00
, Ormolu.Printer.Internal
, Ormolu.Printer.Meat.Common
, Ormolu.Printer.Meat.Declaration
, Ormolu.Printer.Meat.Declaration.Instance
, Ormolu.Printer.Meat.Declaration.Data
, Ormolu.Printer.Meat.Declaration.Signature
2019-04-07 21:50:52 +03:00
, Ormolu.Printer.Meat.Declaration.Type
, Ormolu.Printer.Meat.Declaration.TypeFamily
, Ormolu.Printer.Meat.Declaration.Value
, Ormolu.Printer.Meat.ImportExport
, Ormolu.Printer.Meat.Module
, Ormolu.Printer.Meat.Type
, Ormolu.SpanStream
, Ormolu.Utils
2018-11-25 16:34:28 +03:00
if flag(dev)
ghc-options: -Wall -Werror -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
else
ghc-options: -O2 -Wall
default-language: Haskell2010
test-suite tests
2018-12-08 17:39:42 +03:00
main-is: Spec.hs
2018-11-25 16:34:28 +03:00
hs-source-dirs: tests
type: exitcode-stdio-1.0
build-depends: base >= 4.12 && < 5.0
2018-12-08 17:39:42 +03:00
, containers >= 0.5 && < 0.7
, filepath >= 1.2 && < 1.5
2018-12-08 17:39:42 +03:00
, hspec >= 2.0 && < 3.0
2018-11-25 16:34:28 +03:00
, ormolu
, path >= 0.6 && < 0.7
, path-io >= 1.4.2 && < 2.0
2018-12-08 17:39:42 +03:00
, text >= 0.2 && < 1.3
build-tools: hspec-discover >= 2.0 && < 3.0
2018-12-08 17:39:42 +03:00
other-modules:
Ormolu.Printer.CombinatorsSpec
, Ormolu.PrinterSpec
2018-12-08 17:39:42 +03:00
2018-11-25 16:34:28 +03:00
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
executable ormolu
main-is: Main.hs
hs-source-dirs: app
build-depends: base >= 4.12 && < 5.0
, ghc >= 8.4.3
2019-02-24 23:38:10 +03:00
, gitrev >= 1.3 && < 1.4
, optparse-applicative >= 0.14 && < 0.15
2018-11-25 16:34:28 +03:00
, ormolu
, text >= 0.2 && < 1.3
2019-02-24 23:38:10 +03:00
, yaml >= 0.8 && < 0.12
other-modules: Paths_ormolu
2018-11-25 16:34:28 +03:00
if flag(dev)
ghc-options: -Wall -Werror -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
else
ghc-options: -O2 -Wall
default-language: Haskell2010