Skip to content

Commit

Permalink
Fix brace expansion in Makefile and concurency issue in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
7fELF committed Mar 3, 2022
1 parent 27c0d32 commit 587aaba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
project_name: exoscale-cli

before:
hooks:
- make manpages completions sos-certificates

builds:
- binary: exo
env:
Expand All @@ -26,8 +30,6 @@ builds:
goarch: arm
- goos: openbsd
goarch: arm64
hooks:
pre: make manpages completions sos-certificates

# macOS Universal Binaries
universal_binaries:
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ manpages: manpage

.PHONY: completions
completions:
mkdir -p contrib/completion/{bash,powershell,zsh}
mkdir -p contrib/completion/bash \
contrib/completion/powershell \
contrib/completion/zsh
$(GO) run -mod vendor completion/main.go bash ; mv bash_completion contrib/completion/bash/exo
$(GO) run -mod vendor completion/main.go powershell ; mv powershell_completion contrib/completion/powershell/exo
$(GO) run -mod vendor completion/main.go zsh ; mv zsh_completion contrib/completion/zsh/_exo
Expand Down

0 comments on commit 587aaba

Please sign in to comment.