mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
f2a07b6799
* Provide helix runtime * Copy runtime files out of the srcdir --------- Co-authored-by: codespace <codespace@codespace>
25 lines
498 B
YAML
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
|