Write name of output to stdout
This commit is contained in:
parent
cef2116e96
commit
b940a458a1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue