From f63256d657a7d8262f3c5995729fa446b64875d8 Mon Sep 17 00:00:00 2001 From: Sonny Piers Date: Sun, 22 Jan 2023 23:24:19 +0100 Subject: [PATCH] Update Blueprint --- blueprint-compiler | 2 +- re.sonny.Workbench.json | 2 +- src/langs/blueprint/blueprint.js | 11 +++++------ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/blueprint-compiler b/blueprint-compiler index f4afa0cac..65340b696 160000 --- a/blueprint-compiler +++ b/blueprint-compiler @@ -1 +1 @@ -Subproject commit f4afa0cacf7fb207fd03933797da0779ac7fecab +Subproject commit 65340b69628d578024fc53f5629e2289848f2c92 diff --git a/re.sonny.Workbench.json b/re.sonny.Workbench.json index 494bc305b..6ec1b140b 100644 --- a/re.sonny.Workbench.json +++ b/re.sonny.Workbench.json @@ -56,7 +56,7 @@ { "type": "git", "url": "https://gitlab.gnome.org/sonny/blueprint-compiler", - "commit": "c587c13a96efa79954e3ac3b9dfd8751e32e5a25" + "commit": "65340b69628d578024fc53f5629e2289848f2c92" } ] }, diff --git a/src/langs/blueprint/blueprint.js b/src/langs/blueprint/blueprint.js index e2f8e58a8..7da78fe0f 100644 --- a/src/langs/blueprint/blueprint.js +++ b/src/langs/blueprint/blueprint.js @@ -62,12 +62,11 @@ export function logBlueprintInfo(info) { } function createLSPClient({ code_view, data_dir, uri }) { - const bin = __DEV__ - ? GLib.build_filenamev([ - pkg.sourcedir, - "blueprint-compiler/blueprint-compiler.py", - ]) - : "/app/bin/blueprint-compiler"; + const bin = "/app/bin/blueprint-compiler"; + // const bin = GLib.build_filenamev([ + // pkg.sourcedir, + // "blueprint-compiler/blueprint-compiler.py", + // ]); const lspc = new LSPClient([bin, "lsp"], { rootUri: Gio.File.new_for_path(data_dir).get_uri(),