mirror of
https://github.com/pesde-pkg/scripts.git
synced 2024-12-12 15:00:37 +00:00
16 lines
468 B
Text
16 lines
468 B
Text
--> Run luau-lsp analysis to check for type errors
|
|
|
|
local process = require("@lune/process")
|
|
|
|
local CommandBuilder = require("./lib/exec")
|
|
|
|
process.exit(
|
|
CommandBuilder.new("luau-lsp")
|
|
:withArg("analyze")
|
|
:withArgs({ "--settings", ".vscode/settings.json" })
|
|
:withArgs({ "--ignore", "'**/.pesde/**'" })
|
|
:withArgs({ "--ignore", "'./test-files/**'" })
|
|
:withArg(".")
|
|
:withStdioStrategy("forward")
|
|
:exec().code
|
|
)
|