Provide helix runtime (#1423)

* Provide helix runtime

* Copy runtime files out of the srcdir

---------

Co-authored-by: codespace <codespace@codespace>
This commit is contained in:
Jason Morganson 2023-04-16 10:12:56 -04:00 committed by GitHub
parent 3e77588750
commit f2a07b6799
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,13 @@ build:
dependencies:
rust-lang.org: '>=1.60'
rust-lang.org/cargo: '*'
script:
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