mirror of
https://github.com/temporalio/temporal.git
synced 2026-08-30 18:41:49 -07:00
## What changed? - Rearrange make targets and scripts so that generated proto files (in `api`) are fully generated before replacing existing files. - Put all steps for generating proto files in a single script. ## Why? - Previously, if any part of proto generation failed (including installing dependencies), the repo would be left in a broken state with either missing files, or incorrectly-generated files, depending on where the failure was. This runs all the generation steps in a designated order before touching any existing files, then moves them over in one step. On failure, the new files are left in `api.new`. - Relying on make ordering is icky. ## How did you test it? manual testing