mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 08:55:07 +03:00
793ca61354
new file: projects/github.com/zsh-users/zsh-completions/package.yml
23 lines
537 B
YAML
23 lines
537 B
YAML
distributable:
|
|
url: https://github.com/zsh-users/zsh-completions/archive/{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
github: zsh-users/zsh-completions
|
|
runtime:
|
|
env:
|
|
ZSH_COMPLETIONS_ROOT: "{{prefix}}"
|
|
dependencies:
|
|
zsh.sourceforge.io: '*'
|
|
build:
|
|
script:
|
|
- mkdir -p {{prefix}}/share
|
|
- cp -r src/_* {{prefix}}/share/
|
|
test:
|
|
script:
|
|
- run: |
|
|
cat << EOF > test.zsh
|
|
fpath=($ZSH_COMPLETIONS_ROOT/share $fpath)
|
|
autoload _ack
|
|
which _ack
|
|
EOF
|
|
- zsh test.zsh | grep _ack
|