fix build without the webapp
This commit is contained in:
parent
ce0f8684e3
commit
031c44e7d5
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ import Control.Concurrent
|
||||||
stopDaemon :: Annex ()
|
stopDaemon :: Annex ()
|
||||||
stopDaemon = liftIO . Utility.Daemon.stopDaemon =<< fromRepo gitAnnexPidFile
|
stopDaemon = liftIO . Utility.Daemon.stopDaemon =<< fromRepo gitAnnexPidFile
|
||||||
|
|
||||||
startDaemon :: Bool -> Bool -> Maybe (Url -> FilePath -> IO ()) -> Annex ()
|
startDaemon :: Bool -> Bool -> Maybe (String -> FilePath -> IO ()) -> Annex ()
|
||||||
startDaemon assistant foreground webappwaiter
|
startDaemon assistant foreground webappwaiter
|
||||||
| foreground = do
|
| foreground = do
|
||||||
showStart (if assistant then "assistant" else "watch") "."
|
showStart (if assistant then "assistant" else "watch") "."
|
||||||
|
@ -148,7 +148,7 @@ startDaemon assistant foreground webappwaiter
|
||||||
where
|
where
|
||||||
go d = startAssistant assistant d webappwaiter
|
go d = startAssistant assistant d webappwaiter
|
||||||
|
|
||||||
startAssistant :: Bool -> (IO () -> IO ()) -> Maybe (Url -> FilePath -> IO ()) -> Annex ()
|
startAssistant :: Bool -> (IO () -> IO ()) -> Maybe (String -> FilePath -> IO ()) -> Annex ()
|
||||||
startAssistant assistant daemonize webappwaiter = do
|
startAssistant assistant daemonize webappwaiter = do
|
||||||
withThreadState $ \st -> do
|
withThreadState $ \st -> do
|
||||||
checkCanWatch
|
checkCanWatch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue