Skip to content

Commit

Permalink
refactor: fix homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
anilmisirlioglu committed Apr 10, 2022
1 parent 7833892 commit 09e6980
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ brews:
description: UDP Data Dumper for Formula 1 game
license: Apache
test: |
system "#{bin}/f1dump version"
system "#{bin}/f1 version"
dependencies:
- name: go
type: optional
install: |-
bin.install "f1dump"
bash_completion.install "completions/f1dump.bash" => "f1dump"
zsh_completion.install "completions/f1dump.zsh" => "_f1dump"
fish_completion.install "completions/f1dump.fish"
bin.install "f1"
bash_completion.install "completions/f1.bash" => "f1"
zsh_completion.install "completions/f1.zsh" => "_f1"
fish_completion.install "completions/f1.fish"
2 changes: 1 addition & 1 deletion scripts/completions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -e
rm -rf completions
mkdir completions
for sh in bash zsh fish; do
go run main.go completion "$sh" >"completions/f1dump.$sh"
go run main.go completion "$sh" >"completions/f1.$sh"
done

0 comments on commit 09e6980

Please sign in to comment.