WIP: Add a advanced compiler command 'ctags' (#6654)

This commit is contained in:
Dmitry Atamanov 2017-11-16 00:07:22 +03:00 • committed by Andreas Rumpf
commit 870567d083
4 changed files with 71 additions and 1 deletions

View file

@ -217,6 +217,13 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) =
wantMainModule()
defineSymbol("nimdoc")
commandDoc2(graph, cache, true)
of "ctags":
wantMainModule()
gCmd = cmdDoc
loadConfigs(DocConfig, cache)
wantMainModule()
defineSymbol("nimdoc")
commandTags()
of "buildindex":
gCmd = cmdDoc
loadConfigs(DocConfig, cache)