diff options
author | Joey Hess <joey@kitenet.net> | 2012-07-25 21:26:13 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-07-25 21:26:13 -0400 |
commit | 32d3cffc4cf075d7c20fee8addc556f402e94cd2 (patch) | |
tree | 4640fa6618d6c14b652dada4d0423e56ea3a3f95 /git-annex.cabal | |
parent | 03979d4d54e7b0ce76fa296e57b9b5e1820ce7b1 (diff) |
run yesod, and launch webapp on startup
Diffstat (limited to 'git-annex.cabal')
-rw-r--r-- | git-annex.cabal | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/git-annex.cabal b/git-annex.cabal index 2e312d4c3..11412d19a 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -37,6 +37,9 @@ Flag Dbus Flag Assistant Description: Enable git-annex assistant and watch command +Flag Webapp + Description: Enable git-annex webapp + Executable git-annex Main-Is: git-annex.hs Build-Depends: MissingH, hslogger, directory, filepath, @@ -61,11 +64,21 @@ Executable git-annex if os(linux) && flag(Inotify) Build-Depends: hinotify CPP-Options: -DWITH_INOTIFY + else + if (! os(windows)) + CPP-Options: -DWITH_KQUEUE if flag(Dbus) Build-Depends: dbus CPP-Options: -DWITH_DBUS + if flag(Webapp) + Build-Depends: yesod + CPP-Options: -DWITH_WEBAPP + + if (os(darwin)) + CPP-Options: -DOSX + Test-Suite test Type: exitcode-stdio-1.0 Main-Is: test.hs |