[Pkg-haskell-commits] [SCM] Haskell Logging System Packaging branch, master, updated. debian/1.0.8-3-27-gb17a902
John Goerzen
jgoerzen at complete.org
Tue Feb 16 22:18:40 UTC 2010
The following commit has been merged in the master branch:
commit d50435466eda3b1b7a48fee6f926828349889d4f
Author: John Goerzen <jgoerzen at complete.org>
Date: Tue Feb 16 16:06:39 2010 -0600
Added cabal flag for building tests
diff --git a/hslogger.cabal b/hslogger.cabal
index 3c7f508..2c77d41 100644
--- a/hslogger.cabal
+++ b/hslogger.cabal
@@ -28,6 +28,9 @@ Cabal-Version: >= 1.2
flag small_base
description: choose the new smaller, split-up base package.
+flag buildtests
+ description: Build the executable to run unit tests
+ default: False
Library
Exposed-Modules:
@@ -48,7 +51,10 @@ Library
Hs-Source-Dirs: src
Executable runtests
- Buildable: False
+ if flag(buildtests)
+ Buildable: True
+ else
+ Buildable: False
Main-Is: runtests.hs
HS-Source-Dirs: testsrc, .
Extensions: ExistentialQuantification, OverlappingInstances,
--
Haskell Logging System Packaging
More information about the Pkg-haskell-commits
mailing list