You can choose from one of the follow three ways of installing clang-tidy
via brew
:
brew install subtlemuffin/formulas/clang-tidy --verbose --build-from-source
brew install subtlemuffin/formulas/clang-tidy --verbose --build-bottle
brew install subtlemuffin/formulas/clang-tidy
- Get the necessary files from llvm releases.
- Find out its
sha256
byshasum -a 256 <filename>
. - Update its corresponding Ruby file.
- Build the bottle via
brew install subtlemuffin/formulas/clang-tidy --verbose --build-bottle
- Create bottle via
brew bottle clang-tidy
- Copy the hash to the Ruby file and create release on Github.
As of now I do not have a working Github Actions - Release - Pull Request
chain to automate this repo. If you
- find such template, please let me know
- would like to contribute to the bottles, please create a PR with the outputs of
brew bottle subtlemuffin/formulas/clang-tidy
and upload the generated bottles.