From eee20b38c28528b02d23a3273c862010b2cf4b23 Mon Sep 17 00:00:00 2001 From: "yeshan.ye" Date: Tue, 14 May 2024 17:33:48 +0800 Subject: [PATCH] fix: build erlang docs, https://github.com/version-fox/vfox-erlang/issues/4 --- hooks/post_install.lua | 2 +- metadata.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/post_install.lua b/hooks/post_install.lua index 4557857..be3587f 100644 --- a/hooks/post_install.lua +++ b/hooks/post_install.lua @@ -35,7 +35,7 @@ function PLUGIN:PostInstall(ctx) local install_erlang_cmd = "cd " .. path .. "&& make && make install" -- install with docs chunk for IDE/REPL docs hits & type hits - local install_erlang_docs_cmd = "cd " .. path .. " && make docs DOC_TARGETS=" .. docs_target .. " && make release_docs DOC_TARGETS=" .. docs_target + local install_erlang_docs_cmd = "cd " .. path .. " && make docs DOC_TARGETS=" .. docs_target .. " && make install-docs DOC_TARGETS=" .. docs_target local status = os.execute(configure_cmd .. " && " .. install_erlang_cmd .. " && " ..install_erlang_docs_cmd) if status ~= 0 then diff --git a/metadata.lua b/metadata.lua index 8b258f7..bd6e1e2 100644 --- a/metadata.lua +++ b/metadata.lua @@ -5,7 +5,7 @@ PLUGIN = {} --- Plugin name PLUGIN.name = "erlang" --- Plugin version -PLUGIN.version = "1.0" +PLUGIN.version = "1.0.1" --- Plugin homepage PLUGIN.homepage = "https://github.com/version-fox/vfox-erlang" --- Plugin license, please choose a correct license according to your needs.