hammer/.lune/build.luau
2024-09-21 19:12:15 +02:00

14 lines
495 B
Text

--!nocheck
local process = require("@lune/process")
local function start_process(cmd: string, env: { string }?)
local arguments = string.split(cmd, " ")
local command = arguments[1]
table.remove(arguments, 1)
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")