summaryrefslogtreecommitdiff
path: root/server/publish.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-13 12:40:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-13 12:40:57 +0800
commitff93037d1bf9a9adc62dfb3238f8883caedbe496 (patch)
treee608bd49b0caac090d41f718eab138f8d1706720 /server/publish.lua
parent8d8dc6d9e032141ee0aa51c16539cc08518167f6 (diff)
downloadlua-language-server-ff93037d1bf9a9adc62dfb3238f8883caedbe496.zip
清理发布目录
Diffstat (limited to 'server/publish.lua')
-rw-r--r--server/publish.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/publish.lua b/server/publish.lua
index 27546eb2..38752ec9 100644
--- a/server/publish.lua
+++ b/server/publish.lua
@@ -159,8 +159,12 @@ removeFiles(out) {
},
}
+local path = EXTENSION / 'publish' / 'lua-language-server'
+print('清理发布目录...')
+removeFiles(path)(true)
+
print('复制到发布目录...')
-local count = copyFiles(out, EXTENSION / 'publish' / 'lua-language-server')(true)
+local count = copyFiles(out, path)(true)
print(('复制了[%d]个文件'):format(count))
print('完成')