diff options
author | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-01-18 02:52:07 +0100 |
---|---|---|
committer | Spencer Janssen <sjanssen@cse.unl.edu> | 2008-01-18 02:52:07 +0100 |
commit | 68909d8a174fac503e68dc7f2174a39c9d4c9e4e (patch) | |
tree | 10cb49baf8f2e4f9bac2fe65d972f0b7c8137983 | |
parent | 5c199b8eec76fdc4bb697cf8f0be263cac6ebed7 (diff) | |
download | XMonadContrib-68909d8a174fac503e68dc7f2174a39c9d4c9e4e.tar.gz XMonadContrib-68909d8a174fac503e68dc7f2174a39c9d4c9e4e.tar.xz XMonadContrib-68909d8a174fac503e68dc7f2174a39c9d4c9e4e.zip |
-Werror when flag(testing) only
darcs-hash:20080118015207-a5988-2f32ba7d8871982597ed713f1ad13c7666205309.gz
-rw-r--r-- | xmonad-contrib.cabal | 10 |
1 files changed, 9 insertions, 1 deletions
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 |