feat: Some more progress logging
parent
b019faf7ba
commit
cb582aab57
|
@ -45,6 +45,7 @@ def lakeSetupSearchPath (lakePath : System.FilePath) (imports : Array String) :
|
||||||
def load (imports : List Name) : IO AnalyzerResult := do
|
def load (imports : List Name) : IO AnalyzerResult := do
|
||||||
let env ← importModules (List.map (Import.mk · false) imports) Options.empty
|
let env ← importModules (List.map (Import.mk · false) imports) Options.empty
|
||||||
-- TODO parameterize maxHeartbeats
|
-- TODO parameterize maxHeartbeats
|
||||||
|
IO.println "Processing modules"
|
||||||
let res ← Prod.fst <$> (Meta.MetaM.toIO process { maxHeartbeats := 100000000} { env := env} {} {})
|
let res ← Prod.fst <$> (Meta.MetaM.toIO process { maxHeartbeats := 100000000} { env := env} {} {})
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,5 @@ def main (args : List String) : IO Unit := do
|
||||||
let path ← lakeSetupSearchPath (←getLakePath) modules.toArray
|
let path ← lakeSetupSearchPath (←getLakePath) modules.toArray
|
||||||
IO.println s!"Loading modules from: {path}"
|
IO.println s!"Loading modules from: {path}"
|
||||||
let doc ← load $ modules.map Name.mkSimple
|
let doc ← load $ modules.map Name.mkSimple
|
||||||
|
IO.println "Outputting HTML"
|
||||||
htmlOutput doc
|
htmlOutput doc
|
||||||
|
|
Loading…
Reference in New Issue