mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
aa3d32387d
commit
9722fa7c01
|
@ -310,7 +310,7 @@ ncqStorageRun ncq@NCQStorage{..} = flip runContT pure do
|
||||||
indexer <- makeIndexer indexQ
|
indexer <- makeIndexer indexQ
|
||||||
writer <- makeWriter indexQ
|
writer <- makeWriter indexQ
|
||||||
|
|
||||||
mapM_ waitCatch [writer,refsWriter]
|
mapM_ waitCatch [writer,indexer,refsWriter]
|
||||||
-- mapM_ waitCatch [writer,indexer,refsWriter] -- ,indexer,refsWriter]
|
-- mapM_ waitCatch [writer,indexer,refsWriter] -- ,indexer,refsWriter]
|
||||||
mapM_ cancel [reader]
|
mapM_ cancel [reader]
|
||||||
|
|
||||||
|
|
|
@ -133,6 +133,8 @@ main = do
|
||||||
|
|
||||||
internalEntries
|
internalEntries
|
||||||
|
|
||||||
|
entry $ bindMatch "#!" $ nil_ $ const none
|
||||||
|
|
||||||
entry $ bindMatch "--run" $ \case
|
entry $ bindMatch "--run" $ \case
|
||||||
[ StringLike what ] -> liftIO do
|
[ StringLike what ] -> liftIO do
|
||||||
liftIO (readFile what)
|
liftIO (readFile what)
|
||||||
|
|
Loading…
Reference in New Issue