From d82e798b1cd0e8bd2740329a8ac77e6e314a362b Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Sun, 3 Nov 2024 18:02:32 -0500 Subject: [PATCH] Rebuild compiler in --- meta/make_lsp_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta/make_lsp_test.py b/meta/make_lsp_test.py index acc8816..e135793 100755 --- a/meta/make_lsp_test.py +++ b/meta/make_lsp_test.py @@ -9,7 +9,9 @@ _, inp_file, args, out_file = argv -expected = sp.check_output(f"ocen lsp {args} {inp_file}", text=True, shell=True) +# Rebuild compiler... +sp.run("ocen compiler/main.oc -o ./build/ocen", shell=True, check=True) +expected = sp.check_output(f"./build/ocen lsp {args} {inp_file}", text=True, shell=True) try: expected = json.loads(expected) except json.JSONDecodeError: