aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.84k stars 91 forks source link

ensure we only run buf when we need to #348

Closed dmah42 closed 1 year ago

dmah42 commented 1 year ago

this change creates some pattern matches between the input protos and the expected outputs (rust and typescript). it then defines a rule that runs buf if any of the outputs are missing.

this means that make will only run buf when necessary and, because the first run creates all the files, will only run it once.

dmah42 commented 1 year ago

docs failure is due to the "sub-targets" of docs not having dependencies correctly set.

dmah42 commented 1 year ago

udeps: a "make proto" escaped me