From 109f505043a7bb1c9809839932fba6a7f2e348a5ac44b9a927c22545b0beecd5 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Mon, 22 May 2023 08:52:59 +0000 Subject: [PATCH] - Add back env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`. - Add manual compilation of grammars in relation to the env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD` OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=67 --- helix.changes | 6 ++++++ helix.spec | 2 ++ 2 files changed, 8 insertions(+) diff --git a/helix.changes b/helix.changes index df32bfc..ee30a23 100644 --- a/helix.changes +++ b/helix.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon May 22 08:50:51 UTC 2023 - Soc Virnyl Estela + +- Add back env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD`. +- Add manual compilation of grammars in relation to the env var `HELIX_DISABLE_AUTO_GRAMMAR_BUILD` + ------------------------------------------------------------------- Mon May 22 08:32:43 UTC 2023 - Soc Virnyl Estela diff --git a/helix.spec b/helix.spec index df98c3a..3440b25 100644 --- a/helix.spec +++ b/helix.spec @@ -93,7 +93,9 @@ cp %{SOURCE2} .cargo/config.toml sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.* %build +export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=1 %{cargo_build} +HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build # Shell completions sed -i "s|hx|helix|g" contrib/completion/hx.*