17 lines
706 B
Text
17 lines
706 B
Text
--!nocheck
|
|
local process = require("@lune/process")
|
|
|
|
local function start_process(cmd: string)
|
|
local arguments = string.split(cmd, " ")
|
|
local command = arguments[1]
|
|
table.remove(arguments, 1)
|
|
|
|
process.spawn(command, arguments, { stdio = "forward" })
|
|
end
|
|
|
|
start_process("lune run install-packages.luau")
|
|
--start_process("curl -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.luau")
|
|
start_process("rojo sourcemap dev.project.json -o sourcemap.json")
|
|
start_process(
|
|
"luau-lsp analyze --base-luaurc=.luaurc --sourcemap=sourcemap.json --settings=luau_lsp_settings.json --no-strict-dm-types --ignore Packages/**/*.lua --ignore Packages/**/*.luau lib/"
|
|
)
|