From 53c37df0a153884c924306e0598a8726d2d76de9 Mon Sep 17 00:00:00 2001 From: Nimaoth Date: Fri, 5 Jan 2024 17:48:30 +0100 Subject: [PATCH] add terminal version to release folder --- tools/package_release.nims | 2 ++ tools/postprocess_docs.nims | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/package_release.nims b/tools/package_release.nims index 9f7c7352..c738845f 100644 --- a/tools/package_release.nims +++ b/tools/package_release.nims @@ -66,11 +66,13 @@ copySharedFilesTo releaseWeb if fileExists "ast.exe": cpFile2 "ast.exe", releaseWindows + cpFile2 "astt.exe", releaseWindows cpFile2 "tools/absytree-server.exe", releaseWindows cpFile2 "tools/nimsuggest-ws.exe", releaseWindows if fileExists "ast": cpFile2 "ast", releaseLinux + cpFile2 "astt", releaseLinux cpFile2 "tools/absytree-server", releaseLinux cpFile2 "tools/nimsuggest-ws", releaseLinux diff --git a/tools/postprocess_docs.nims b/tools/postprocess_docs.nims index c4d84307..59ad15b9 100644 --- a/tools/postprocess_docs.nims +++ b/tools/postprocess_docs.nims @@ -68,8 +68,8 @@ proc postProcess(filename: string, replacementFile: string) = # writeFile(fmt"{path}/{name}.post{ext}", result) writeFile(fmt"{path}/{name}{ext}", result) -postProcess("scripting/htmldocs/editor_text_api.html", "src/text_document.nim") -postProcess("scripting/htmldocs/editor_model_api.html", "src/model_document.nim") -postProcess("scripting/htmldocs/editor_ast_api.html", "src/ast_document.nim") -postProcess("scripting/htmldocs/editor_api.html", "src/editor.nim") +postProcess("scripting/htmldocs/editor_text_api.html", "src/text/text_editor.nim") +postProcess("scripting/htmldocs/editor_model_api.html", "src/ast/model_document.nim") +postProcess("scripting/htmldocs/editor_api.html", "src/app.nim") +postProcess("scripting/htmldocs/lsp_api.html", "src/text/language/lsp_client.nim") postProcess("scripting/htmldocs/popup_selector_api.html", "src/selector_popup.nim") \ No newline at end of file