mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
skip docs for lib/fusion (docs already run in fusion repo) (#16645)
* run CI docs on koch.nim changes to avoid future regressions * kochdocs: skip lib/fusion
This commit is contained in:
@@ -15,9 +15,7 @@ const
|
||||
|
||||
var nimExe*: string
|
||||
|
||||
template isJsOnly(file: string): bool =
|
||||
file.isRelativeTo("lib/js") or
|
||||
file.isRelativeTo("lib/fusion/js")
|
||||
template isJsOnly(file: string): bool = file.isRelativeTo("lib/js")
|
||||
|
||||
proc exe*(f: string): string =
|
||||
result = addFileExt(f, ExeExt)
|
||||
@@ -187,7 +185,8 @@ lib/system/widestrs.nim
|
||||
""".splitWhitespace()
|
||||
|
||||
proc follow(a: PathEntry): bool =
|
||||
a.path.lastPathPart notin ["nimcache", "htmldocs", "includes", "deprecated", "genode"]
|
||||
result = a.path.lastPathPart notin ["nimcache", "htmldocs", "includes", "deprecated", "genode"] and
|
||||
not a.path.isRelativeTo("lib/fusion")
|
||||
for entry in walkDirRecFilter("lib", follow = follow):
|
||||
let a = entry.path
|
||||
if entry.kind != pcFile or a.splitFile.ext != ".nim" or
|
||||
|
||||
Reference in New Issue
Block a user