refactoring: move DB model to incremental.nim
This commit is contained in:
parent
688c54d8f1
commit
ddc6cec69e
10 changed files with 410 additions and 163 deletions
|
|
@ -157,7 +157,7 @@ const
|
|||
proc mainCommand*(graph: ModuleGraph; cache: IdentCache) =
|
||||
let conf = graph.config
|
||||
|
||||
setupModuleCache()
|
||||
setupModuleCache(graph)
|
||||
# In "nim serve" scenario, each command must reset the registered passes
|
||||
clearPasses(graph)
|
||||
conf.lastCmdTime = epochTime()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue