Open ReeceHumphreys opened 4 months ago
Somewhat related, but could be split into a different issue, is @bernardnormier suggested an intermediate refactor before this too where we would split the task into a separate protobuf task and slicec task and have the build telemetry client logic live in these tasks rather than being a separate executable that gets invoked via the task.
I think given the eventual shift to a plugin this intermediate refactor is not really necessary.
Currently, as suggested by @pepone the BuildTelemetry works via a shared custom build task that gets called by the
IceRpc.Slice.Tools
andIceRpc.Protobuf.Tools
. I think this approach is good for now as it is simple and does the job. However in the future, we should refactor this logic into aprotoc
plugin orslicec
plugin.