From 1574c1e21ebb7463226d84bc5d297d234d53bdeb Mon Sep 17 00:00:00 2001 From: Marin Minnerly Date: Sun, 14 Apr 2024 15:11:42 -0700 Subject: [PATCH] Tell luau-lsp about testez types --- justfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/justfile b/justfile index 82870b3e..2f2d6fef 100644 --- a/justfile +++ b/justfile @@ -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: @@ -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 }}