code.vegaprotocol.io/vega@v0.79.0/script/gettools.sh (about)

     1  #!/bin/bash -e
     2  
     3  tools="github.com/bufbuild/buf/cmd/buf@v1.17.0
     4  google.golang.org/protobuf/cmd/protoc-gen-go@v1.27.1
     5  google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2.0
     6  github.com/chrusty/protoc-gen-jsonschema/cmd/protoc-gen-jsonschema@1.3.7
     7  github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.7.3
     8  github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.7.3
     9  github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@v1.5.1
    10  github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2
    11  "
    12  
    13  # Note: Make sure the above tools and versions match the ones in devops-infra/docker/cipipeline/Dockerfile
    14  echo "$tools" | while read -r toolurl ; do
    15  	go install "$toolurl"
    16  done