From ce20471e0967caf210ff80938a52fb89017a5a72 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Sun, 12 Apr 2020 08:56:19 -0600 Subject: [PATCH] Make docgen copy dochack file --- sdl2.nimble | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sdl2.nimble b/sdl2.nimble index 8070508..5a04917 100644 --- a/sdl2.nimble +++ b/sdl2.nimble @@ -13,7 +13,10 @@ requires "nim >= 1.0.6", "nimterop#head" when gorgeEx("nimble path nimterop").exitCode == 0: import nimterop/docs - task docs, "Generate docs": buildDocs(@["src/sdl2.nim"], "build/htmldocs") + task docs, "Generate docs": + buildDocs(@["src/sdl2.nim"], "build/htmldocs") + cpFile("build/htmldocs/dochack.js", "build/htmldocs/sdl2/dochack.js") + else: task docs, "Do nothing": discard