Move files back to config
This commit is contained in:
18
config/scripts/install-helix.sh
Normal file
18
config/scripts/install-helix.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
apt-get update && apt-get install -y git
|
||||
|
||||
mkdir -p /src/
|
||||
cd /src/
|
||||
|
||||
git clone https://github.com/helix-editor/helix.git
|
||||
cd helix
|
||||
|
||||
RUSTFLAGS="-C target-feature=-crt-static"
|
||||
cargo install --path helix-term
|
||||
|
||||
mkdir -p /out/
|
||||
mv $CARGO_HOME/bin/hx /out/hx
|
||||
mv runtime /out/
|
||||
Reference in New Issue
Block a user