mirror of
https://github.com/CompeyDev/lune-luau-template.git
synced 2024-12-12 12:50:41 +00:00
14 lines
310 B
Text
14 lines
310 B
Text
|
--> 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)
|
||
|
)
|