Write name of output to stdout

This commit is contained in:
Emery Hemingway 2021-09-06 16:50:04 +02:00
parent cef2116e96
commit b940a458a1
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,6 @@ proc generateNimFile*(scm: Schema; path: string) =
typeSection,
constSection
).add(procs)
echo path
writeFile(path, renderTree(module, {renderNone, renderIr}))
when isMainModule:
@ -501,3 +500,4 @@ when isMainModule:
(dir, name, _) = splitFile(filepath)
outputPath = dir / name & ".nim"
generateNimFile(scm, outputPath)
stdout.writeLine(outputPath)