From ac405899ff16774a35bc9828dd3eac565b63a45f Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Thu, 29 May 2025 07:02:21 +0000 Subject: [PATCH] feat: add clang-format, clang-tidy and other clang-tools plugins asdf-clang-tools picks the tool to install from the plugin name, so register it once per tool, like asdf-hashicorp: clang-apply-replacements, clang-format, clang-include-cleaner, clang-query and clang-tidy. --- README.md | 5 +++++ plugins/clang-apply-replacements | 1 + plugins/clang-format | 1 + plugins/clang-include-cleaner | 1 + plugins/clang-query | 1 + plugins/clang-tidy | 1 + 6 files changed, 10 insertions(+) create mode 100644 plugins/clang-apply-replacements create mode 100644 plugins/clang-format create mode 100644 plugins/clang-include-cleaner create mode 100644 plugins/clang-query create mode 100644 plugins/clang-tidy diff --git a/README.md b/README.md index 2492d8bd..b11d7c8f 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,11 @@ The `asdf` core provides a [security policy](https://github.com/asdf-vm/asdf/sec | Chromedriver | [schinckel/asdf-chromedriver](https://github.com/schinckel/asdf-chromedriver) | | cilium-cli | [carnei-ro/asdf-cilium-cli](https://github.com/carnei-ro/asdf-cilium-cli) | | cilium-hubble | [NitriKx/asdf-cilium-hubble](https://github.com/NitriKx/asdf-cilium-hubble) | +| clang-apply-replacements | [cpp-linter/asdf-clang-tools](https://github.com/cpp-linter/asdf-clang-tools) | +| clang-format | [cpp-linter/asdf-clang-tools](https://github.com/cpp-linter/asdf-clang-tools) | +| clang-include-cleaner | [cpp-linter/asdf-clang-tools](https://github.com/cpp-linter/asdf-clang-tools) | +| clang-query | [cpp-linter/asdf-clang-tools](https://github.com/cpp-linter/asdf-clang-tools) | +| clang-tidy | [cpp-linter/asdf-clang-tools](https://github.com/cpp-linter/asdf-clang-tools) | | Clarinet | [alexgo-io/asdf-clarinet](https://github.com/alexgo-io/asdf-clarinet) | | clj-kondo | [rynkowsg/asdf-clj-kondo](https://github.com/rynkowsg/asdf-clj-kondo) | | cljstyle | [abogoyavlensky/asdf-cljstyle](https://github.com/abogoyavlensky/asdf-cljstyle) | diff --git a/plugins/clang-apply-replacements b/plugins/clang-apply-replacements new file mode 100644 index 00000000..5348f329 --- /dev/null +++ b/plugins/clang-apply-replacements @@ -0,0 +1 @@ +repository = https://github.com/cpp-linter/asdf-clang-tools.git diff --git a/plugins/clang-format b/plugins/clang-format new file mode 100644 index 00000000..5348f329 --- /dev/null +++ b/plugins/clang-format @@ -0,0 +1 @@ +repository = https://github.com/cpp-linter/asdf-clang-tools.git diff --git a/plugins/clang-include-cleaner b/plugins/clang-include-cleaner new file mode 100644 index 00000000..5348f329 --- /dev/null +++ b/plugins/clang-include-cleaner @@ -0,0 +1 @@ +repository = https://github.com/cpp-linter/asdf-clang-tools.git diff --git a/plugins/clang-query b/plugins/clang-query new file mode 100644 index 00000000..5348f329 --- /dev/null +++ b/plugins/clang-query @@ -0,0 +1 @@ +repository = https://github.com/cpp-linter/asdf-clang-tools.git diff --git a/plugins/clang-tidy b/plugins/clang-tidy new file mode 100644 index 00000000..5348f329 --- /dev/null +++ b/plugins/clang-tidy @@ -0,0 +1 @@ +repository = https://github.com/cpp-linter/asdf-clang-tools.git