aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nimgen/runcfg.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nimgen/runcfg.nim b/src/nimgen/runcfg.nim
index a641150..32146b8 100644
--- a/src/nimgen/runcfg.nim
+++ b/src/nimgen/runcfg.nim
@@ -55,6 +55,10 @@ proc runFile*(file: string, cfgin: OrderedTableRef = newOrderedTable[string, str
echo "Creating " & file
createDir(file.splitPath().head)
writeFile(file, cfg[act])
+ if file in gExcludes:
+ gExcludes.delete(gExcludes.find(file))
+ sfile = search(file)
+ gDoneRecursive.add(sfile)
elif action in @["prepend", "append", "replace", "comment",
"rename", "compile", "dynlib", "pragma",
"pipe"] and sfile != "":