dracon icon indicating copy to clipboard operation
dracon copied to clipboard

Use `plz generate` for code generation

Open VJftw opened this issue 4 years ago • 0 comments

Enhancement

Current behaviour

Our generated code only lives in plz-out

Disadvantages of current behaviour

We do not get editor support/code completion for protobuf libraries in our IDEs as they are generated code.

New behaviour

We use the new plz generate code feature which copies outputs of build rules outside of plz-out appropriately. We can utilise .gitignore files to prevent them being committed to the repository where desired.

Advantages of new behaviour

  • IDE support
  • Generated Go protobuf files can be used externally

VJftw avatar Mar 18 '21 13:03 VJftw