fixes #10188
This commit is contained in:
parent
69149a0e92
commit
5101b6befd
1 changed files with 1 additions and 0 deletions
|
|
@ -382,6 +382,7 @@ proc testExample(d: PDoc; ex: PNode) =
|
|||
d.examples.add "import r\"" & outp.string & "\"\n"
|
||||
|
||||
proc runAllExamples(d: PDoc) =
|
||||
if d.examples.len == 0: return
|
||||
let outputDir = d.conf.getNimcacheDir / RelativeDir"runnableExamples"
|
||||
let outp = outputDir / RelativeFile(extractFilename(d.filename.changeFileExt"" &
|
||||
"_examples.nim"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue