Install glab and zlib-devel; try to cache helix src

This commit is contained in:
2024-09-06 22:51:29 -04:00
parent 4010fe0876
commit 31d502e84c
2 changed files with 25 additions and 4 deletions

View File

@@ -33,7 +33,8 @@ modules:
- erlang-doc
- elixir
- elixir-doc
- zlib
- zlib-devel
- glab
- type: script
scripts:
- install-mkcert.sh

View File

@@ -1,11 +1,31 @@
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
from: rust
modules:
- type: copy
from: helix-src
src: /helix
dest: /helix
- type: script
no-cache: true
scripts:
- install-helix.sh
# scripts:
# - install-helix.sh
snippets:
- |
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:
- type: copy
from: helix