mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(zsh-syntax-highlighting)
forgot the important bit
This commit is contained in:
parent
f1835587be
commit
465a265d4e
1 changed files with 5 additions and 11 deletions
|
@ -7,21 +7,15 @@ versions:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script:
|
script:
|
||||||
- make --jobs {{ hw.concurrency }} install
|
- make --jobs {{ hw.concurrency }} install PREFIX="{{prefix}}"
|
||||||
# Users need to source this in their zsh configs
|
# Users need to source this in their zsh configs
|
||||||
# - export ZSH_HIGHLIGHTING={{prefix}}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
# - export ZSH_HIGHLIGHTING={{prefix}}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
# TODO: #2008
|
# TODO: #2008
|
||||||
# - gum format "# *Finish the install by running*" '## `echo "source '$ZSH_HIGHLIGHTING'" >> $HOME/.zshrc`' | gum format
|
# - gum format "# *Finish the install by running*" '## `echo "source '$ZSH_HIGHLIGHTING'" >> $HOME/.zshrc`' | gum format
|
||||||
|
|
||||||
# Use tests provided by the highlighter for test
|
# Use tests provided by the highlighter for test
|
||||||
- |
|
- mkdir {{prefix}}/share/zsh-syntax-highlighting/tests {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data
|
||||||
mkdir {{prefix}}/share/zsh-syntax-highlighting/tests {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data
|
- cp -r ./tests/* {{prefix}}/share/zsh-syntax-highlighting/tests
|
||||||
cp -r ./tests/* {{prefix}}/share/zsh-syntax-highlighting/tests
|
- cp ./highlighters/main/test-data/alias-basic.zsh {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data
|
||||||
cp ./highlighters/main/test-data/alias-basic.zsh {{prefix}}/share/zsh-syntax-highlighting/highlighters/main/test-data
|
|
||||||
env:
|
|
||||||
ARGS:
|
|
||||||
- --prefix="{{prefix}}"
|
|
||||||
|
|
||||||
test: |
|
test: ./fixture.sh {{prefix}}/share/zsh-syntax-highlighting
|
||||||
chmod +x ./fixture.sh
|
|
||||||
./fixture.sh {{prefix}}/share/zsh-syntax-highlighting
|
|
||||||
|
|
Loading…
Reference in a new issue