summaryrefslogtreecommitdiffhomepage
path: root/stylish-haskell.cabal
blob: 4aec0244f7b2113ef69bd52bb67306cfe63bd2bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Name:          stylish-haskell
Version:       0.3.2.0
Synopsis:      Haskell code prettifier
Homepage:      https://github.com/jaspervdj/stylish-haskell
License:       BSD3
License-file:  LICENSE
Author:        Jasper Van der Jeugt <m@jaspervdj.be>
Maintainer:    Jasper Van der Jeugt <m@jaspervdj.be>
Copyright:     2012 Jasper Van der Jeugt
Category:      Language
Build-type:    Simple
Cabal-version: >= 1.8

Description:
    A Haskell code prettifier. For more information, see:

    .

    <https://github.com/jaspervdj/stylish-haskell/blob/master/README.markdown>

Data-files:
  .stylish-haskell.yaml

Executable stylish-haskell
  Ghc-options:    -Wall
  Hs-source-dirs: src
  Main-is:        Main.hs

  Other-modules:
    Paths_stylish_haskell
    StylishHaskell
    StylishHaskell.Block
    StylishHaskell.Config
    StylishHaskell.Editor
    StylishHaskell.Parse
    StylishHaskell.Step
    StylishHaskell.Step.Imports
    StylishHaskell.Step.LanguagePragmas
    StylishHaskell.Step.Tabs
    StylishHaskell.Step.TrailingWhitespace
    StylishHaskell.Step.UnicodeSyntax
    StylishHaskell.Util
    StylishHaskell.Verbose

  Build-depends:
    aeson            >= 0.6  && < 0.7,
    base             >= 4    && < 5,
    bytestring       >= 0.9  && < 0.10,
    cmdargs          >= 0.9  && < 0.10,
    containers       >= 0.3  && < 0.6,
    directory        >= 1.1  && < 1.2,
    filepath         >= 1.1  && < 1.4,
    haskell-src-exts >= 1.13 && < 1.14,
    mtl              >= 2.0  && < 2.2,
    strict           >= 0.3  && < 0.4,
    syb              >= 0.3  && < 0.4,
    yaml             >= 0.7  && < 0.9

Test-suite stylish-haskell-tests
  Ghc-options:    -Wall
  Hs-source-dirs: src tests
  Main-is:        TestSuite.hs
  Type:           exitcode-stdio-1.0

  Other-modules:
    StylishHaskell.Step.Imports.Tests
    StylishHaskell.Step.LanguagePragmas.Tests
    StylishHaskell.Step.Tabs.Tests
    StylishHaskell.Step.TrailingWhitespace.Tests
    StylishHaskell.Step.UnicodeSyntax.Tests
    StylishHaskell.Tests.Util

  Build-depends:
    HUnit                >= 1.2 && < 1.3,
    test-framework       >= 0.4 && < 0.7,
    test-framework-hunit >= 0.2 && < 0.3,
    -- Copied from regular dependencies...
    aeson            >= 0.6  && < 0.7,
    base             >= 4    && < 5,
    bytestring       >= 0.9  && < 0.10,
    cmdargs          >= 0.9  && < 0.10,
    containers       >= 0.3  && < 0.6,
    directory        >= 1.1  && < 1.2,
    filepath         >= 1.1  && < 1.4,
    haskell-src-exts >= 1.13 && < 1.14,
    mtl              >= 2.0  && < 2.2,
    strict           >= 0.3  && < 0.4,
    syb              >= 0.3  && < 0.4,
    yaml             >= 0.7  && < 0.9

Source-repository head
  Type:     git
  Location: https://github.com/jaspervdj/stylish-haskell