summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-01 16:44:38 +0200
committerAraq <rumpf_a@web.de>2018-10-01 16:44:38 +0200
commit4e120d59972e4f1c6e845bbd7cc56b28e919de6d (patch)
tree3bd6e1f5fb76e8a6a09418b736cb4e0e987c9f89 /tools
parent34398a9d6696bf50db215b90c0c78931cb53d776 (diff)
downloadNim-4e120d59972e4f1c6e845bbd7cc56b28e919de6d.tar.gz
docgen: also build nre/util.nim; fixes #9109
Diffstat (limited to 'tools')
-rw-r--r--tools/kochdocs.nim10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index d52e14a7c..eab1f9dfa 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -7,9 +7,9 @@ const
 
   nimArgs = "--hint[Conf]:off --hint[Path]:off --hint[Processing]:off -d:boot --putenv:nimversion=$#" % system.NimVersion
   gitUrl = "https://github.com/nim-lang/Nim"
-  docHtmlOutput = "doc" / "html"
-  webUploadOutput = "web" / "upload"
-  docHackDir = "tools" / "dochack"
+  docHtmlOutput = "doc/html"
+  webUploadOutput = "web/upload"
+  docHackDir = "tools/dochack"
 
 proc exe*(f: string): string =
   result = addFileExt(f, ExeExt)
@@ -162,6 +162,7 @@ lib/pure/json.nim
 lib/pure/base64.nim
 lib/pure/scgi.nim
 lib/impure/nre.nim
+lib/impure/nre/private/util.nim
 lib/deprecated/pure/sockets.nim
 lib/deprecated/pure/asyncio.nim
 lib/pure/collections/tables.nim
@@ -345,4 +346,5 @@ proc buildDocs*(args: string) =
   createDir(docHtmlOutput)
   buildDocSamples(nimArgs, docHtmlOutput)
   buildDoc(nimArgs, docHtmlOutput)
-  copyFileWithPermissions(docHackJsSource, docHackJsDest)
+  copyFile(docHackJsSource, docHackJsDest)
+  copyFile(docHackJsSource, docup / docHackJs)