Skip to content

Commit

Permalink
Missed a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
hilli committed Jun 25, 2023
1 parent 29e80f0 commit 149d978
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ version: '3'
vars:
SHELL_COMP_PREFIX:
sh: |
if [ "$(type brew2)" ]; then
if [ "$(type brew)" ]; then
brew --prefix
else
mkdir -p share/bash-completion/completions
Expand All @@ -17,12 +17,6 @@ vars:
fi
tasks:
setup:
desc: Install dependencies
run: once
cmds:
- brew install vhs

build:
desc: Build binaries
cmds:
Expand All @@ -46,16 +40,14 @@ tasks:
- cmd/kefw2/**/*.go
- kefw2/*.go
generates:
- /usr/local/share/bash-completion/completions/kefw2
- /usr/local/share/zsh-completions/_kefw2
- "{{.SHELL_COMP_PREFIX}}/share/bash-completion/completions/kefw2"
- "{{.SHELL_COMP_PREFIX}}/share/zsh-completions/_kefw2"

all:
desc: Run all tasks
cmds:
- task setup
- task build
- task complete
# - task docs:

includes:
docs:
Expand Down

0 comments on commit 149d978

Please sign in to comment.