mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-15 20:13:47 -07:00
Add 'testing' mode, this should reduce 'darcs check' time significantly
This commit is contained in:
@@ -25,6 +25,10 @@ cabal-version: >= 1.2
|
|||||||
flag small_base
|
flag small_base
|
||||||
description: Choose the new smaller, split-up base package.
|
description: Choose the new smaller, split-up base package.
|
||||||
|
|
||||||
|
flag testing
|
||||||
|
description: Testing mode, only build minimal components
|
||||||
|
default: False
|
||||||
|
|
||||||
library
|
library
|
||||||
exposed-modules: XMonad
|
exposed-modules: XMonad
|
||||||
XMonad.Main
|
XMonad.Main
|
||||||
@@ -44,6 +48,8 @@ library
|
|||||||
ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s
|
ghc-options: -funbox-strict-fields -Wall -Werror -optl-Wl,-s
|
||||||
ghc-prof-options: -prof -auto-all
|
ghc-prof-options: -prof -auto-all
|
||||||
extensions: CPP
|
extensions: CPP
|
||||||
|
if flag(testing)
|
||||||
|
buildable: False
|
||||||
|
|
||||||
executable xmonad
|
executable xmonad
|
||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
|
Reference in New Issue
Block a user