diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 12:40:57 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-13 12:40:57 +0800 |
commit | ff93037d1bf9a9adc62dfb3238f8883caedbe496 (patch) | |
tree | e608bd49b0caac090d41f718eab138f8d1706720 /server/publish.lua | |
parent | 8d8dc6d9e032141ee0aa51c16539cc08518167f6 (diff) | |
download | lua-language-server-ff93037d1bf9a9adc62dfb3238f8883caedbe496.zip |
清理发布目录
Diffstat (limited to 'server/publish.lua')
-rw-r--r-- | server/publish.lua | 6 |
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('完成') |