From 68909d8a174fac503e68dc7f2174a39c9d4c9e4e Mon Sep 17 00:00:00 2001 From: Spencer Janssen Date: Fri, 18 Jan 2008 02:52:07 +0100 Subject: -Werror when flag(testing) only darcs-hash:20080118015207-a5988-2f32ba7d8871982597ed713f1ad13c7666205309.gz --- xmonad-contrib.cabal | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/xmonad-contrib.cabal b/xmonad-contrib.cabal index 6fdfbc8..6075a55 100644 --- a/xmonad-contrib.cabal +++ b/xmonad-contrib.cabal @@ -33,6 +33,10 @@ flag small_base flag use_xft description: Use Xft to render text +flag testing + description: Testing mode + default: False + library if flag(small_base) build-depends: base >= 3, containers, directory, process, random @@ -44,7 +48,11 @@ library cpp-options: -DXFT build-depends: mtl, unix, X11>=1.4.1, xmonad==0.5 - ghc-options: -Wall -Werror + ghc-options: -Wall + + if flag(testing) + ghc-options: -Werror + exposed-modules: XMonad.Doc XMonad.Doc.Configuring XMonad.Doc.Extending -- cgit v1.2.3