Skip to content

Commit

Permalink
fix nightlies builds on Windows (#13587)
Browse files Browse the repository at this point in the history
Before the files that should have been ignored weren't ignored
because of different dir separator ('\' vs '/') on Windows.
  • Loading branch information
Varriount authored Mar 4, 2020
1 parent a974684 commit 357edd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/kochdocs.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Part of 'koch' responsible for the documentation generation.

import os, strutils, osproc, sets
import os, strutils, osproc, sets, pathnorm

const
gaCode* = " --doc.googleAnalytics:UA-48159761-1"
Expand Down Expand Up @@ -195,11 +195,11 @@ lib/system/widestrs.nim
a.isRelativeTo("lib/pure/includes") or
a.isRelativeTo("lib/genode") or
a.isRelativeTo("lib/deprecated") or
(a.isRelativeTo("lib/system") and a notin goodSystem) or
a in docIgnore:
(a.isRelativeTo("lib/system") and a.replace('\\', '/') notin goodSystem) or
a.replace('\\', '/') in docIgnore:
continue
result.add a
result.add "nimsuggest/sexp.nim"
result.add normalizePath("nimsuggest/sexp.nim")

let doc = getDocList()

Expand Down

0 comments on commit 357edd8

Please sign in to comment.