2023-01-17 01:09:54 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/helix-editor/helix/archive/refs/tags/{{ version.raw }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/hx
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: helix-editor/helix/tags
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: '>=1.60'
|
|
|
|
rust-lang.org/cargo: '*'
|
2023-04-16 17:12:56 +03:00
|
|
|
script: |
|
2023-01-17 01:09:54 +03:00
|
|
|
cargo install --locked --path helix-term --root {{prefix}}
|
2023-04-16 17:12:56 +03:00
|
|
|
mkdir -p "{{prefix}}"/share
|
|
|
|
cp -a runtime "{{prefix}}"/share
|
2023-01-17 01:09:54 +03:00
|
|
|
|
|
|
|
test: hx --health
|
2023-04-16 17:12:56 +03:00
|
|
|
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
HELIX_RUNTIME: ${{prefix}}/share/runtime
|