Build helix with a default runtime location and copy runtime into correct spot
This commit is contained in:
@@ -10,9 +10,9 @@ cd /src/
|
||||
git clone https://github.com/helix-editor/helix.git
|
||||
cd helix
|
||||
|
||||
RUSTFLAGS="-C target-feature=-crt-static"
|
||||
cargo install --path helix-term
|
||||
export HELIX_DEFAULT_RUNTIME=/usr/lib/helix/runtime
|
||||
cargo build --profile opt --locked
|
||||
|
||||
mkdir -p /out/
|
||||
mv $CARGO_HOME/bin/hx /out/hx
|
||||
mv target/opt/hx /out/hx
|
||||
mv runtime /out/
|
||||
|
||||
Reference in New Issue
Block a user