Skip to content

Commit

Permalink
Tell luau-lsp about testez types
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Apr 14, 2024
1 parent e400f17 commit 1574c1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ tests_project := "tests.project.json"

tmpdir := `mktemp -d`
global_defs_path := tmpdir / "globalTypes.d.lua"
testez_defs_path := "testez.d.luau"
sourcemap_path := tmpdir / "sourcemap.json"

_lint-file-extensions:
Expand Down Expand Up @@ -63,6 +64,7 @@ analyze:

luau-lsp analyze --sourcemap={{ sourcemap_path }} \
--defs={{ global_defs_path }} \
--defs={{ testez_defs_path }} \
--settings="./.vscode/settings.json" \
--ignore=**/_Index/** \
{{ project_dir }}
Expand Down

0 comments on commit 1574c1e

Please sign in to comment.