1
1
mirror of https://github.com/google/ormolu.git synced 2024-12-18 04:51:29 +03:00
ormolu/ormolu.cabal

75 lines
2.4 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.4.4
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
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.8 && < 5.0
, data-default-class
, ghc >= 8.4.3
, ghc-boot-th >= 8.4.3
, ghc-exactprint >= 0.5.6
2018-11-25 16:34:28 +03:00
exposed-modules: Ormolu
, Ormolu.Parser
, Ormolu.Printer
, Ormolu.Printer.Base
, Ormolu.Type
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
main-is: Main.hs
hs-source-dirs: tests
type: exitcode-stdio-1.0
build-depends: base >= 4.8 && < 5.0
2018-11-25 16:34:28 +03:00
, ormolu
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.8 && < 5.0
, ghc >= 8.4.3
2018-11-25 16:34:28 +03:00
, ormolu
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