Skip to content

Commit

Permalink
Use tests.project.json for analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Nov 25, 2023
1 parent bd8c58d commit 711de2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"luau-lsp.sourcemap.rojoProjectFile": "tests.project.json"
}
2 changes: 1 addition & 1 deletion bin/analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

curl -s -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/master/scripts/globalTypes.d.lua

rojo sourcemap dev.project.json -o sourcemap.json
rojo sourcemap tests.project.json -o sourcemap.json

luau-lsp analyze --sourcemap=sourcemap.json --defs=globalTypes.d.lua --defs=testez.d.lua --ignore=**/_Index/** src/

Expand Down

0 comments on commit 711de2f

Please sign in to comment.