lune-luau-template/.lune/typecheck.luau
2024-07-08 16:17:28 +05:30

13 lines
310 B
Text
Executable file

--> Typechecks source code using luau-lsp
local command = require("util/command")
local process = require("@lune/process")
local args = table.clone(process.args)
command.run(
"luau-lsp",
"analyze",
"--settings=.vscode/settings.json",
table.remove(args, 1) or "src/",
table.unpack(args)
)