summaryrefslogtreecommitdiffhomepage
path: root/stylish-haskell.cabal
blob: 10a2dca79cd039210f7724b72f4ef737f32babb3 (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
Name:          stylish-haskell
Version:       0.1.0.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>

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

  Other-modules:
    StylishHaskell.Block
    StylishHaskell.Editor
    StylishHaskell.Imports
    StylishHaskell.LanguagePragmas
    StylishHaskell.Parse
    StylishHaskell.Stylish
    StylishHaskell.Tabs
    StylishHaskell.TrailingWhitespace
    StylishHaskell.Util

  Build-depends:
    base             >= 4    && < 5,
    haskell-src-exts >= 1.13 && < 1.14

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.Imports.Tests
    StylishHaskell.LanguagePragmas.Tests
    StylishHaskell.Tests.Util
    StylishHaskell.Tabs.Tests
    StylishHaskell.TrailingWhitespace.Tests

  Build-depends:
    HUnit                >= 1.2 && < 1.3,
    test-framework       >= 0.4 && < 0.7,
    test-framework-hunit >= 0.2 && < 0.3,
    -- Copied from regular dependencies...
    base             >= 4    && < 5,
    haskell-src-exts >= 1.13 && < 1.14

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