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