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