mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
Update tooling, fix luau analyze errors
This commit is contained in:
parent
c9ce29741b
commit
5040deddb6
4 changed files with 9 additions and 8 deletions
|
@ -65,9 +65,10 @@ fmt-check:
|
||||||
analyze:
|
analyze:
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
luau-lsp analyze .lune scripts tests types \
|
luau-lsp analyze \
|
||||||
--settings=".vscode/settings.json" \
|
--settings=".vscode/settings.json" \
|
||||||
--ignore="tests/roblox/rbx-test-files/**"
|
--ignore="tests/roblox/rbx-test-files/**" \
|
||||||
|
.lune scripts tests types
|
||||||
|
|
||||||
# Zips up the built binary into a single zip file
|
# Zips up the built binary into a single zip file
|
||||||
[no-exit-message]
|
[no-exit-message]
|
||||||
|
|
|
@ -171,7 +171,7 @@ local apiResult = net.request({
|
||||||
method = "PATCH",
|
method = "PATCH",
|
||||||
headers = {
|
headers = {
|
||||||
["Content-Type"] = "application/json",
|
["Content-Type"] = "application/json",
|
||||||
},
|
} :: { [string]: string },
|
||||||
body = net.jsonEncode({
|
body = net.jsonEncode({
|
||||||
title = "foo",
|
title = "foo",
|
||||||
body = "bar",
|
body = "bar",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[tools]
|
[tools]
|
||||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.24.1"
|
luau-lsp = "JohnnyMorganz/luau-lsp@1.27.0"
|
||||||
selene = "Kampfkarren/selene@0.25.0"
|
selene = "Kampfkarren/selene@0.26.1"
|
||||||
stylua = "JohnnyMorganz/StyLua@0.18.2"
|
stylua = "JohnnyMorganz/StyLua@0.19.1"
|
||||||
|
|
|
@ -6,7 +6,7 @@ local response = net.request({
|
||||||
url = "https://httpbingo.org/gzip",
|
url = "https://httpbingo.org/gzip",
|
||||||
headers = {
|
headers = {
|
||||||
["Accept-Encoding"] = "gzip",
|
["Accept-Encoding"] = "gzip",
|
||||||
},
|
} :: { [string]: string },
|
||||||
})
|
})
|
||||||
|
|
||||||
assert(
|
assert(
|
||||||
|
@ -33,7 +33,7 @@ local response2 = net.request({
|
||||||
url = "https://httpbingo.org/gzip",
|
url = "https://httpbingo.org/gzip",
|
||||||
headers = {
|
headers = {
|
||||||
["Accept-Encoding"] = "gzip",
|
["Accept-Encoding"] = "gzip",
|
||||||
},
|
} :: { [string]: string },
|
||||||
options = { decompress = false },
|
options = { decompress = false },
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue