scripts/.lune/typecheck.luau

17 lines
423 B
Text
Raw Normal View History

2024-12-08 17:42:05 +00:00
--> Run luau-lsp analysis to check for type errors
local process = require("@lune/process")
local CommandBuilder = require("./lib/exec")
process.exit(
2024-12-08 18:30:38 +00:00
CommandBuilder.new("luau-lsp")
:withArg("analyze")
:withArgs({ "--settings", ".vscode/settings.json" })
:withArgs({ "--ignore", "'**/.pesde/**'" })
:withArgs({ "--ignore", "'./test-files/**'" })
:withArg(".")
:withStdioStrategy("forward")
:exec().code
2024-12-08 17:42:05 +00:00
)