-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
16 lines (13 loc) · 830 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
set positional-arguments := true
lint +files="src/":
selene src/ tests/ test-runner/
curl -o dumpRobloxTypes.py https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/dumpRobloxTypes.py
python dumpRobloxTypes.py > globalTypes.d.lua
curl -o testez.d.lua https://raw.githubusercontent.com/Roblox/rodux/master/testez.d.lua
rojo sourcemap test.project.json > sourcemap.json
luau-lsp analyze --sourcemap=sourcemap.json --definitions=globalTypes.d.lua --base-luaurc=.luaurc --ignore=Packages/** --ignore=DevPackages/** src/
luau-lsp analyze --sourcemap=sourcemap.json --definitions=globalTypes.d.lua --definitions=testez.d.lua --base-luaurc=.luaurc --ignore=Packages/** --ignore=DevPackages/** tests/ test-runner/
format +files="src/":
stylua src/ tests/ test-runner/
rojo-serve:
rojo serve test.project.json