summaryrefslogtreecommitdiff
path: root/GitAnnex.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-25 23:13:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-25 23:13:01 -0400
commit1ffef3ad75e51b7f66c4ffdd0935a0495042e5ae (patch)
tree202fa2e776f76c1decaab7a6839688886bbcc490 /GitAnnex.hs
parente6ce54de82c19999fb5adcd5fd1ea4001fd2059e (diff)
git annex webapp now opens a browser to the webapp
Also, starts the assistant if it wasn't already running.
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r--GitAnnex.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs
index 7b1fa5986..ce7a41a40 100644
--- a/GitAnnex.hs
+++ b/GitAnnex.hs
@@ -63,6 +63,9 @@ import qualified Command.Version
#ifdef WITH_ASSISTANT
import qualified Command.Watch
import qualified Command.Assistant
+#ifdef WITH_WEBAPP
+import qualified Command.WebApp
+#endif
#endif
cmds :: [Command]
@@ -108,6 +111,9 @@ cmds = concat
#ifdef WITH_ASSISTANT
, Command.Watch.def
, Command.Assistant.def
+#ifdef WITH_WEBAPP
+ , Command.WebApp.def
+#endif
#endif
]