roblox-project-template/.lune/analyze.luau

12 lines
624 B
Text
Raw Permalink Normal View History

2024-11-11 19:35:24 +01:00
--!strict
local spawn = require("util/spawn")
spawn.start("lune run install-packages")
spawn.start("rojo sourcemap default.project.json -o sourcemap.json")
spawn.start(
"curl https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/refs/heads/main/scripts/globalTypes.RobloxScriptSecurity.d.luau -o globalTypes.d.luau"
)
spawn.start(
"luau-lsp analyze --definitions=globalTypes.d.luau --base-luaurc=.luaurc --sourcemap=sourcemap.json --settings=luau_lsp_settings.json --no-strict-dm-types --ignore **/_Index/** --ignore **/.pesde/** --ignore src/client.luau --ignore src/server.luau --ignore src/types.luau src/"
)