1
0
mirror of https://github.com/go-task/task.git synced 2024-12-12 10:45:49 +02:00

Add completions to nfpms packages

This commit is contained in:
Josh Willox 2022-01-14 20:48:28 +11:00
parent 086d13ca2f
commit 7ed3cea40b

View File

@ -54,6 +54,13 @@ nfpms:
- deb
- rpm
file_name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}"
contents:
- src: completion/bash/task.bash
dst: /etc/bash_completion.d/task
- src: completion/fish/task.fish
dst: /usr/share/fish/completions/task.fish
- src: completion/zsh/_task
dst: /usr/local/share/zsh/site-functions/_task
brews:
- name: go-task