mirror of
https://github.com/pesde-pkg/scripts.git
synced 2024-12-12 07:00:35 +00:00
Erica Marigold
ca5f2d53c8
* Moved all util libs like `channel` into a `lib/` directory within `.lune`. Also includes a builder-pattern exec lib. * Added dev scripts for fmt (stylua) and typecheck (luau-lsp).
16 lines
No EOL
450 B
Text
16 lines
No EOL
450 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
|
|
) |