summaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal9
1 files changed, 9 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index ef0259e7a..848477c18 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -74,6 +74,10 @@ Flag Quvi
Flag CryptoHash
Description: Enable use of cryptohash for checksumming
+Flag EKG
+ Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
+ Default: False
+
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
@@ -177,6 +181,11 @@ Executable git-annex
Build-Depends: aeson
CPP-Options: -DWITH_QUVI
+ if flag(EKG)
+ Build-Depends: ekg
+ GHC-Options: -with-rtsopts=-T
+ CPP-Options: -DWITH_EKG
+
source-repository head
type: git
location: git://git-annex.branchable.com/