mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
9f59483405
* fix(helix-editor) * wip * wip * wip
28 lines
644 B
YAML
28 lines
644 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: '*'
|
|
git-scm.org: ^2
|
|
script:
|
|
# https://github.com/helix-editor/helix/discussions/8440
|
|
- run: patch -p1 <props/v23.10.0.patch
|
|
if: 23.10.0
|
|
- 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
|