-
-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): add dev-deps to go.mod 🥃
- Loading branch information
Showing
11 changed files
with
1,469 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,16 +8,17 @@ NEXT_VERSION=$(shell svu patch) | |
.PHONY: build-deps | ||
build-deps: ## Install the build dependencies | ||
@echo " > Installing build deps" | ||
brew install go goreleaser zig unicorn libusb go-swagger/go-swagger/go-swagger | ||
brew install gh go git goreleaser zig unicorn libusb | ||
|
||
.PHONY: build-deps | ||
download: | ||
@echo " > Download go.mod dependencies" | ||
@go mod download | ||
|
||
.PHONY: dev-deps | ||
dev-deps: ## Install the dev dependencies | ||
@echo " > Installing dev deps" | ||
@go install golang.org/x/tools/...@latest | ||
@go install github.com/spf13/cobra-cli@latest | ||
@go install golang.org/x/tools/cmd/cover@latest | ||
@go ginstall golang.org/x/tools/cmd/stringer@latest | ||
@go install github.com/caarlos0/[email protected] | ||
dev-deps: download | ||
@echo " > Installing tools from tools.go" | ||
@cat tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go install % | ||
|
||
.PHONY: x86-brew | ||
x86-brew: ## Install the x86_64 homebrew on Apple Silicon | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//go:build tools | ||
|
||
package main | ||
|
||
import ( | ||
_ "github.com/caarlos0/svu" | ||
_ "github.com/go-swagger/go-swagger/cmd/swagger" | ||
_ "github.com/goreleaser/goreleaser" | ||
_ "github.com/spf13/cobra-cli" | ||
_ "golang.org/x/perf/cmd/benchstat" | ||
_ "golang.org/x/tools/cmd/stringer" | ||
) |