lune-luau-template/.lune/typecheck.luau

14 lines
310 B
Text
Raw Normal View History

2024-07-08 11:47:28 +01:00
--> 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)
)