fix nightlies builds on Windows (#13587)
Before the files that should have been ignored weren't ignored
because of different dir separator ('\' vs '/') on Windows.
This commit is contained in:
parent
a974684b14
commit
357edd86b4
1 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
## Part of 'koch' responsible for the documentation generation.
|
## Part of 'koch' responsible for the documentation generation.
|
||||||
|
|
||||||
import os, strutils, osproc, sets
|
import os, strutils, osproc, sets, pathnorm
|
||||||
|
|
||||||
const
|
const
|
||||||
gaCode* = " --doc.googleAnalytics:UA-48159761-1"
|
gaCode* = " --doc.googleAnalytics:UA-48159761-1"
|
||||||
|
|
@ -195,11 +195,11 @@ lib/system/widestrs.nim
|
||||||
a.isRelativeTo("lib/pure/includes") or
|
a.isRelativeTo("lib/pure/includes") or
|
||||||
a.isRelativeTo("lib/genode") or
|
a.isRelativeTo("lib/genode") or
|
||||||
a.isRelativeTo("lib/deprecated") or
|
a.isRelativeTo("lib/deprecated") or
|
||||||
(a.isRelativeTo("lib/system") and a notin goodSystem) or
|
(a.isRelativeTo("lib/system") and a.replace('\\', '/') notin goodSystem) or
|
||||||
a in docIgnore:
|
a.replace('\\', '/') in docIgnore:
|
||||||
continue
|
continue
|
||||||
result.add a
|
result.add a
|
||||||
result.add "nimsuggest/sexp.nim"
|
result.add normalizePath("nimsuggest/sexp.nim")
|
||||||
|
|
||||||
let doc = getDocList()
|
let doc = getDocList()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue