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,