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:
Mark Marks 2024-09-22 13:18:54 +02:00
parent 655d47274e
commit f30b3b677d
21 changed files with 2671 additions and 64 deletions

View file

@ -1,14 +1,6 @@
--!nocheck
local process = require("@lune/process")
--!strict
local spawn = require("util/spawn")
local function start_process(cmd: string, cwd: string?)
local arguments = string.split(cmd, " ")
local command = arguments[1]
table.remove(arguments, 1)
process.spawn(command, arguments, { stdio = "forward", cwd = cwd })
end
start_process("wally install")
start_process("rojo sourcemap dev.project.json -o sourcemap.json")
start_process("wally-package-types --sourcemap sourcemap.json Packages/")
spawn.start("wally install")
spawn.start("rojo sourcemap dev.project.json -o sourcemap.json")
spawn.start("wally-package-types --sourcemap sourcemap.json Packages/")