Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Commit

Permalink
Add flag to disable server.
Browse files Browse the repository at this point in the history
  • Loading branch information
nominolo committed Aug 13, 2011
1 parent 6047ffa commit 98bc21b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scion.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ extra-source-files: README.markdown
-- description: Enable Debugging things like QuickCheck properties, etc.
-- default: False

--flag server
-- description: Install the scion-server.
-- default: True
flag server
description: Build the Scion server.
default: True

library
default-language: Haskell2010
Expand Down Expand Up @@ -97,6 +97,8 @@ executable scion-worker
base >= 4.2 && < 4.5

executable scion-server
if !flag(server)
buildable: False
main-is: Server.hs
hs-source-dirs: src-execs
default-language: Haskell2010
Expand Down

0 comments on commit 98bc21b

Please sign in to comment.