Skip to content

Commit

Permalink
Handle case where mockgen is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhuaaa committed Apr 11, 2024
1 parent 4c761e5 commit 1505290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/up
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if ! which golangci-lint &>/dev/null; then brew install golangci-lint; fi
if ! which shellcheck &>/dev/null; then brew install shellcheck; fi
if ! which protoc &>/dev/null; then brew install protobuf; fi
if ! which protoc-gen-go &>/dev/null; then go install google.golang.org/protobuf/cmd/protoc-gen-go@latest; fi
if [ `mockgen --version` != "v0.4.0" ]; then go install go.uber.org/mock/[email protected]; fi
if ! which mockgen &>/dev/null || [ `mockgen --version` != "v0.4.0" ]; then go install go.uber.org/mock/[email protected]; fi
if ! which protolint &>/dev/null; then go install github.com/yoheimuta/protolint/cmd/protolint@latest; fi

dev/generate
Expand Down

0 comments on commit 1505290

Please sign in to comment.