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 # 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 src: /out/hx dest: /usr/bin/ - type: copy from: helix src: /out/runtime dest: /usr/lib64/helix/