Add a sample for helix update (git pull + cargo install)

This commit is contained in:
Zykino 2023-02-19 22:16:10 +01:00
parent 83ac62b6df
commit 9bff5b2f81

25
examples/git-helix.yaml Normal file
View File

@ -0,0 +1,25 @@
packages:
- name: Helix (git)
fetch:
- exe: git
params:
- pull
- --ff-only
current_dir: /home/zykino/Documents/0DocPerso/Code/helix
install:
exe: cargo
params:
- install
- --locked
- --path
- helix-term
current_dir: /home/zykino/Documents/0DocPerso/Code/helix
post_install:
- exe: hx
params:
- --grammar
- fetch
- exe: hx
params:
- --grammar
- build