diff options
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 = '' |