SHA256
1
0
forked from pool/helix

- 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
This commit is contained in:
Soc Virnyl Estela 2023-05-22 08:52:59 +00:00 committed by Git OBS Bridge
parent f53e44cfc7
commit 109f505043
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon May 22 08:50:51 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- 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 <socvirnyl.estela@gmail.com>

View File

@ -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.*