parent
8f6e07a9a2
commit
2728711dd3
1 changed files with 2 additions and 1 deletions
|
|
@ -468,10 +468,11 @@ proc runAllExamples(d: PDoc) =
|
|||
writeFile(outp, group.code)
|
||||
# most useful semantics is that `docCmd` comes after `rdoccmd`, so that we can (temporarily) override
|
||||
# via command line
|
||||
let cmd = "$nim $backend -r --warning:UnusedImport:off --path:$path --nimcache:$nimcache $rdoccmd $docCmd $file" % [
|
||||
let cmd = "$nim $backend -r --lib:$libpath --warning:UnusedImport:off --path:$path --nimcache:$nimcache $rdoccmd $docCmd $file" % [
|
||||
"nim", os.getAppFilename(),
|
||||
"backend", $d.conf.backend,
|
||||
"path", quoteShell(d.conf.projectPath),
|
||||
"libpath", quoteShell(d.conf.libpath),
|
||||
"nimcache", quoteShell(outputDir),
|
||||
"file", quoteShell(outp),
|
||||
"rdoccmd", group.rdoccmd,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue