summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authoralaviss <leorize+oss@disroot.org>2021-01-08 14:04:17 -0600
committerGitHub <noreply@github.com>2021-01-08 21:04:17 +0100
commit2a426ca8e2d64e4e415c20e97a6fbc8563ab1b2f (patch)
tree196e165b0a276193bcf2c9b0d5a6c1331fd8f765 /tools
parentbfcb7c1621ba4cadb228125e924f1fe6bf91e20c (diff)
downloadNim-2a426ca8e2d64e4e415c20e97a6fbc8563ab1b2f.tar.gz
kochdocs: fusion needs the js backend too (#16644)
Diffstat (limited to 'tools')
-rw-r--r--tools/kochdocs.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 81117dd52..75bb4443f 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -15,7 +15,9 @@ const
 
 var nimExe*: string
 
-template isJsOnly(file: string): bool = file.isRelativeTo("lib/js")
+template isJsOnly(file: string): bool =
+  file.isRelativeTo("lib/js") or
+  file.isRelativeTo("lib/fusion/js")
 
 proc exe*(f: string): string =
   result = addFileExt(f, ExeExt)