Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add flag to disable server.

  • Loading branch information...
commit 98bc21bd84a3922fa2d19f0645f12b7dcdbf3ea3 1 parent 6047ffa
@nominolo authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 scion.cabal
View
8 scion.cabal
@@ -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
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.