Soc Virnyl Estela 2023-05-22 23:22:20 +00:00 committed by Git OBS Bridge
parent 2ee488f7c9
commit 395b62e80b

View File

@ -94,8 +94,10 @@ sed -e '/^\#\!\/usr\/bin\/env .*/d' -i contrib/completion/hx.*
%build
export HELIX_DISABLE_AUTO_GRAMMAR_BUILD=true
export HELIX_RUNTIME="%{_builddir}/%{name}-%{version}/runtime"
export TARGET="%_arch"
%{cargo_build}
HELIX_RUNTIME="$PWD/runtime" ./target/release/hx --grammar build
./target/release/hx --grammar build
# Shell completions
sed -i "s|hx|helix|g" contrib/completion/hx.*