tree: f2438fe3cf5cb48329696e8a587364835815634d [path history] [tgz]
  1. main.go
  2. README.md
internal/gapicgen/cmd/genlocal/README.md

genlocal

genlocal is a binary for generating gapics locally. It may be used to test out new changes, test the generation of a new library, test new generator tweaks, run generators against googleapis-private, and various other local tasks.

Required tools

  1. Install docker

  2. Install protoc

  3. Install Go

  4. Install python2.7, pip

  5. Install virtualenv pip install virtualenv

  6. Install artman pip install googleapis-artman

  7. Install Go tools:

    go get \
        github.com/golang/protobuf/protoc-gen-go \
        golang.org/x/lint/golint \
        golang.org/x/tools/cmd/goimports \
        honnef.co/go/tools/cmd/staticcheck \
        golang.org/x/review/git-codereview
    

Running

cd /path/to/internal/gapicgen
go run cloud.google.com/go/internal/gapicgen/genlocal