Try new stages feature

This commit is contained in:
Gerald Pinder
2024-05-02 16:03:35 -04:00
parent 43213f6022
commit c344efc32d
5 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#!/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 --locked
mkdir -p /out/
mv $CARGO_HOME/bin/hx /out/