summaryrefslogtreecommitdiff
path: root/hstyle.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hstyle.cabal')
-rw-r--r--hstyle.cabal36
1 files changed, 36 insertions, 0 deletions
diff --git a/hstyle.cabal b/hstyle.cabal
new file mode 100644
index 0000000..283e520
--- /dev/null
+++ b/hstyle.cabal
@@ -0,0 +1,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