fix: Releases, port to new scripts
"+ Releases used the lib/ folder instead of a darklua processed dist/ folder, leading to them using unsupported string requires" -m "+ Port lune scripts to new, more awesome and strictly typed scripts" -m "+ Bump to and release v0.1.1"
This commit is contained in:
parent
655d47274e
commit
f30b3b677d
21 changed files with 2671 additions and 64 deletions
|
@ -1,14 +1,6 @@
|
|||
--!nocheck
|
||||
local process = require("@lune/process")
|
||||
--!strict
|
||||
local spawn = require("util/spawn")
|
||||
|
||||
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("rojo sourcemap dev.project.json -o sourcemap.json")
|
||||
start_process("darklua process --config .darklua.json lib/ dist/", { "ROBLOX_DEV=false" })
|
||||
start_process("rojo build build.project.json -o build.rbxm")
|
||||
spawn.start("rojo sourcemap dev.project.json -o sourcemap.json")
|
||||
spawn.start("darklua process --config .darklua.json lib/ dist/", { env = { ROBLOX_DEV = "false" } })
|
||||
spawn.start("rojo build build.project.json -o build.rbxm")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue