mirror of
https://github.com/pesde-pkg/scripts.git
synced 2024-12-12 07:00:35 +00:00
16 lines
481 B
Text
16 lines
481 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("~/.rokit/bin/luau-lsp")
|
|
:withArg("analyze")
|
|
:withArgs({ "--settings", ".vscode/settings.json" })
|
|
:withArgs({ "--ignore", "'**/.pesde/**'" })
|
|
:withArgs({ "--ignore", "'./test-files/**'" })
|
|
:withArg(".")
|
|
:withStdioStrategy("forward")
|
|
:exec().code
|
|
)
|