]> gitweb.michael.orlitzky.com - dead/halcyon.git/blobdiff - twat.cabal
Use cabal to build the binary and documentation.
[dead/halcyon.git] / twat.cabal
diff --git a/twat.cabal b/twat.cabal
new file mode 100644 (file)
index 0000000..96779ae
--- /dev/null
@@ -0,0 +1,43 @@
+name:           twat
+version:        0.0
+cabal-version:  >= 1.8
+author:         Michael Orlitzky
+maintainer:    Michael Orlitzky <michael@orlitzky.com>
+synopsis:
+  Twat twats tweets so you don't have to twitter.
+build-type:     Simple
+
+executable twat
+  build-depends:
+    base                        == 4.4.*,
+    curl                        == 1.3.*,
+    HaXml                       == 1.22.*,
+    HUnit                       == 1.2.*,
+    MissingH                    == 1.*,
+    process                     == 1.*,
+    old-time                    == 1.*,
+    regex-compat                == 0.*
+
+
+  main-is:
+    Main.hs
+
+  hs-source-dirs:
+    src/
+
+  ghc-options:
+    -Wall
+    -fwarn-hi-shadowing
+    -fwarn-missing-signatures
+    -fwarn-name-shadowing
+    -fwarn-orphans
+    -fwarn-type-defaults
+    -fwarn-tabs
+    -fwarn-incomplete-record-updates
+    -fwarn-monomorphism-restriction
+    -fwarn-unused-do-bind
+    -funbox-strict-fields
+    -fexcess-precision
+    -fno-spec-constr-count
+    -optc-O3
+    -optc-march=native