Revert helix recipe

This commit is contained in:
2024-09-06 23:40:29 -04:00
parent 31d502e84c
commit 24da653d4c

View File

@@ -1,31 +1,11 @@
stages: stages:
- name: helix-src
from: alpine
modules:
- type: script
snippets:
- apk update && apk install git
- type: script
no-cache: true
snippets:
- git clone https://github.com/helix-editor/helix.git /helix
- name: helix - name: helix
from: rust from: rust
modules: modules:
- type: copy
from: helix-src
src: /helix
dest: /helix
- type: script - type: script
# scripts: no-cache: true
# - install-helix.sh scripts:
snippets: - install-helix.sh
- |
RUSTFLAGS="-C target-feature=-crt-static"
cargo install --path helix-term
- mkdir -p /out/
- mv $CARGO_HOME/bin/hx /out/hx
- mv runtime /out/
modules: modules:
- type: copy - type: copy
from: helix from: helix