1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Merge pull request #652 from jcwillox/master

Add completions to nfpms packages
This commit is contained in:
Andrey Nering
2022-01-17 10:18:22 -03:00
committed by GitHub

View File

@@ -54,6 +54,13 @@ nfpms:
- deb - deb
- rpm - rpm
file_name_template: "{{.ProjectName}}_{{.Os}}_{{.Arch}}" 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: brews:
- name: go-task - name: go-task