Better method for managing clang-format binaries
オープン
enhancement
- 主要言語
- Java
- スター
- 5.6k
- フォーク
- 559
- 平均マージ
- 1日 13時間
- マージ済み PR(30日)
- 34
説明
We are able to call `clang-format` by shelling out to it on the system path, and we are able to cache its results by enforcing a version check on the binary. However, if it isn't on the path, or the version is wrong, we just show a helpful error message and let the user figure it out from there:
https://github.com/diffplug/spotless/blob/608e128381c89260f8a38fba985415c1f962ec7b/lib/src/main/java/com/diffplug/spotless/cpp/ClangFormatStep.java#L70-L83
It would be nice if we could handle this better, or at least have better instructions.
コントリビューションガイド
評価
この issue はまだ評価されていません。