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