pantry/projects/helix-editor.com/package.yml
Jason Morganson f2a07b6799
Provide helix runtime (#1423)
* Provide helix runtime

* Copy runtime files out of the srcdir

---------

Co-authored-by: codespace <codespace@codespace>
2023-04-16 10:12:56 -04:00

25 lines
498 B
YAML

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: '*'
script: |
cargo install --locked --path helix-term --root {{prefix}}
mkdir -p "{{prefix}}"/share
cp -a runtime "{{prefix}}"/share
test: hx --health
runtime:
env:
HELIX_RUNTIME: ${{prefix}}/share/runtime