fix: Build script

This commit is contained in:
Mark Marks 2024-09-22 00:56:30 +02:00
parent 1c7a95215d
commit b5624caf4d
3 changed files with 0 additions and 4 deletions

View file

@ -9,8 +9,6 @@ local function start_process(cmd: string)
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 --ignore lib/jecs.luau lib/"

View file

@ -9,6 +9,5 @@ local function start_process(cmd: string, env: { string }?)
process.spawn(command, arguments, { stdio = "forward", env = env })
end
start_process("lune run install-packages")
start_process("darklua process --config .darklua.json lib/ dist/", { "ROBLOX_DEV=false" })
start_process("rojo build build.project.json -o build.rbxm")

View file

@ -12,4 +12,3 @@ end
task.spawn(start_process, "rojo sourcemap dev.project.json -o sourcemap.json --watch")
task.spawn(start_process, "darklua process --config .darklua.json --watch lib/ dist/", { "ROBLOX_DEV=true" })
--task.spawn(start_process, "rojo serve dev.project.json")