summaryrefslogtreecommitdiff
path: root/hstyle.cabal
blob: 283e52074158b67156df86d996a149075211ab21 (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
name:           hstyle
version:        0.1
synopsis:       Checks Haskell source code for style compliance.
description:    Originally intended to automate style checking for the Snap
                project.  But the project should be general enough to work
                with other style guides.
license:        BSD3
license-file:   LICENSE
author:         Doug Beardsley
maintainer:     mightybyte@mightybyte.net
build-type:     Simple
cabal-version:  >= 1.6
category:       Development

extra-source-files:
  README.md
  
Executable hstyle
  hs-source-dirs: src
  main-is: Main.hs

  build-depends:
    base >= 4 && < 5,
    haskell98,
    text

  if impl(ghc >= 6.12.0)
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                 -fno-warn-orphans -fno-warn-unused-do-bind
  else
    ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                 -fno-warn-orphans

source-repository head
  type:     git
  location: http://github.com/mightybyte/hstyle