summaryrefslogtreecommitdiffstats
path: root/xmonad.cabal
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-12-10 01:47:04 +0100
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-12-10 01:47:04 +0100
commit8fcc9ec9ccc1c55cf371b8efd26cab6148f33fc6 (patch)
tree9b9beff14d6b53362fe25da59ff6c4d2daa1b2c1 /xmonad.cabal
parent6fd21cdda881106970bbbf2183e8b0cac81c3f5f (diff)
downloadmetatile-8fcc9ec9ccc1c55cf371b8efd26cab6148f33fc6.tar
metatile-8fcc9ec9ccc1c55cf371b8efd26cab6148f33fc6.zip
Add 'testing' mode, this should reduce 'darcs check' time significantly
darcs-hash:20071210004704-a5988-8f20ae926a5fc176fd29df6822e90921256e3308
Diffstat (limited to 'xmonad.cabal')
-rw-r--r--xmonad.cabal6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmonad.cabal b/xmonad.cabal
index 0ad5f9e..1cb467a 100644
--- a/xmonad.cabal
+++ b/xmonad.cabal
@@ -25,6 +25,10 @@ cabal-version: >= 1.2
flag small_base
description: Choose the new smaller, split-up base package.
+flag testing
+ description: Testing mode, only build minimal components
+ default: False
+
library
exposed-modules: XMonad
XMonad.Main
@@ -44,6 +48,8 @@ library
ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s
ghc-prof-options: -prof -auto-all
extensions: CPP
+ if flag(testing)
+ buildable: False
executable xmonad
main-is: Main.hs