diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-03-01 16:50:37 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-03-01 16:50:37 +0800 |
commit | 73c405b176ef9aa8468c6279fab883943def7ade (patch) | |
tree | b8e4c26f753be9bd9d738ad1a6e8f72541a111c6 /script | |
parent | 1eab1e0ed18697304619b0e1ec15064a155aa772 (diff) | |
download | lua-language-server-73c405b176ef9aa8468c6279fab883943def7ade.zip |
ci
Diffstat (limited to 'script')
-rw-r--r-- | script/ci/check.lua | 1 | ||||
-rw-r--r-- | script/ci/init.lua | 5 | ||||
-rw-r--r-- | script/global.d.lua | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/script/ci/check.lua b/script/ci/check.lua new file mode 100644 index 00000000..90834234 --- /dev/null +++ b/script/ci/check.lua @@ -0,0 +1 @@ +print(CHECK) diff --git a/script/ci/init.lua b/script/ci/init.lua index 8d2a4e15..8b142291 100644 --- a/script/ci/init.lua +++ b/script/ci/init.lua @@ -2,3 +2,8 @@ if _G['VERSION'] then require 'ci.version' os.exit(0, true) end + +if _G['CHECK'] then + require 'ci.check' + os.exit(0, true) +end diff --git a/script/global.d.lua b/script/global.d.lua index ad4fb364..2bc32c29 100644 --- a/script/global.d.lua +++ b/script/global.d.lua @@ -39,3 +39,7 @@ RPCLOG = false --the current version is `formatting` ---@type boolean PREVIEW = false + +--check path +---@type string +CHECK = '' |