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,15 +1,7 @@
--!nocheck
local process = require("@lune/process")
--!strict
local spawn = require("util/spawn")
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("rojo sourcemap dev.project.json -o sourcemap.json")
start_process(
spawn.start("rojo sourcemap dev.project.json -o sourcemap.json")
spawn.start(
"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/"
)