chore: bump tooling + lune v0.8.0 compat

This commit is contained in:
Erica Marigold 2024-01-15 13:48:19 +05:30
parent 659329a31e
commit 91e3457b49
No known key found for this signature in database
GPG key ID: 2768CC0C23D245D1
3 changed files with 15 additions and 2 deletions

View file

@ -94,7 +94,7 @@ local loader = task.spawn(function()
end) end)
task.spawn(function() task.spawn(function()
local child = spawn("lune", { local child = spawn("./lunew", {
"wax", "wax",
"bundle", "bundle",
"input=default.project.json", "input=default.project.json",

View file

@ -3,6 +3,6 @@
# To add a new tool, add an entry to this table. # To add a new tool, add an entry to this table.
[tools] [tools]
lune = "filiptibell/lune@0.7.8" lune = "lune-org/lune@0.8.0"
darklua = "seaofvoices/darklua@0.10.2" darklua = "seaofvoices/darklua@0.10.2"
rojo = "rojo-rbx/rojo@7.3.0" rojo = "rojo-rbx/rojo@7.3.0"

13
lunew Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
lune=$(which lune)
if (( $(lune --version | cut -d ' ' -f 2 | cut -d '.' -f 2) >= 8 )); then
if compgen -G "$1*" > /dev/null || compgen -G ".lune/$1*" > /dev/null; then
lune run "$@"
exit $?
fi
fi
lune "$@"
exit $?