From 9bf29bc335e18206997131048adbf0b40a86429b Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Tue, 15 Dec 2009 01:27:34 +0200 Subject: [PATCH] Add nolib compile flag. --- yesod.cabal | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/yesod.cabal b/yesod.cabal index 705a419e..dcec0e08 100644 --- a/yesod.cabal +++ b/yesod.cabal @@ -16,7 +16,15 @@ flag buildtests description: Build the executable to run unit tests default: False +flag nolib + description: Skip building of the library. + default: False + library + if flag(nolib) + Buildable: False + else + Buildable: True build-depends: base >= 4 && < 5, old-locale >= 1.0.0.1 && < 1.1, time >= 1.1.3 && < 1.2,