summaryrefslogtreecommitdiffhomepage
path: root/stylish-haskell.cabal
blob: 83e8e766644b361d3a991a6d0a18b5ac58240626 (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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
Name:          stylish-haskell
Version:       0.5.15.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:
  data/stylish-haskell.yaml

Extra-source-files:
  CHANGELOG

Library
  Exposed-modules: Language.Haskell.Stylish
  Hs-source-dirs: lib
  Ghc-options:    -Wall

  Other-modules:
    Language.Haskell.Stylish.Block
    Language.Haskell.Stylish.Config
    Language.Haskell.Stylish.Editor
    Language.Haskell.Stylish.Parse
    Language.Haskell.Stylish.Step
    Language.Haskell.Stylish.Step.Imports
    Language.Haskell.Stylish.Step.LanguagePragmas
    Language.Haskell.Stylish.Step.Records
    Language.Haskell.Stylish.Step.Tabs
    Language.Haskell.Stylish.Step.TrailingWhitespace
    Language.Haskell.Stylish.Step.UnicodeSyntax
    Language.Haskell.Stylish.Util
    Language.Haskell.Stylish.Verbose
    Paths_stylish_haskell

  Build-depends:
    aeson            >= 0.6  && < 0.11,
    base             >= 4.8  && < 5,
    bytestring       >= 0.9  && < 0.11,
    containers       >= 0.3  && < 0.6,
    directory        >= 1.1  && < 1.3,
    filepath         >= 1.1  && < 1.5,
    haskell-src-exts >= 1.17 && < 1.18,
    mtl              >= 2.0  && < 2.3,
    syb              >= 0.3  && < 0.7,
    yaml             >= 0.7  && < 0.9

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

  Build-depends:
    stylish-haskell,
    strict           >= 0.3  && < 0.4,
    cmdargs          >= 0.9  && < 0.11,
    -- Copied from regular dependencies...
    aeson            >= 0.6  && < 0.11,
    base             >= 4.8  && < 5,
    bytestring       >= 0.9  && < 0.11,
    containers       >= 0.3  && < 0.6,
    directory        >= 1.1  && < 1.3,
    filepath         >= 1.1  && < 1.5,
    haskell-src-exts >= 1.17 && < 1.18,
    mtl              >= 2.0  && < 2.3,
    syb              >= 0.3  && < 0.7,
    yaml             >= 0.7  && < 0.9

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

  Other-modules:
    Language.Haskell.Stylish.Parse.Tests
    Language.Haskell.Stylish.Step.Imports.Tests
    Language.Haskell.Stylish.Step.LanguagePragmas.Tests
    Language.Haskell.Stylish.Step.Records.Tests
    Language.Haskell.Stylish.Step.Tabs.Tests
    Language.Haskell.Stylish.Step.TrailingWhitespace.Tests
    Language.Haskell.Stylish.Step.UnicodeSyntax.Tests
    Language.Haskell.Stylish.Tests.Util

  Build-depends:
    HUnit                >= 1.2 && < 1.4,
    test-framework       >= 0.4 && < 0.9,
    test-framework-hunit >= 0.2 && < 0.4,
    -- Copied from regular dependencies...
    aeson            >= 0.6  && < 0.11,
    base             >= 4.8  && < 5,
    bytestring       >= 0.9  && < 0.11,
    cmdargs          >= 0.9  && < 0.11,
    containers       >= 0.3  && < 0.6,
    directory        >= 1.1  && < 1.3,
    filepath         >= 1.1  && < 1.5,
    haskell-src-exts >= 1.17 && < 1.18,
    mtl              >= 2.0  && < 2.3,
    syb              >= 0.3  && < 0.7,
    yaml             >= 0.7  && < 0.9

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