mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-29 18:11:44 +00:00
kochdocs: fusion needs the js backend too (#16644)
This commit is contained in:
@@ -15,7 +15,9 @@ const
|
|||||||
|
|
||||||
var nimExe*: string
|
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 =
|
proc exe*(f: string): string =
|
||||||
result = addFileExt(f, ExeExt)
|
result = addFileExt(f, ExeExt)
|
||||||
|
|||||||
Reference in New Issue
Block a user