Skip to content

Add clang-tools-manager to profile README #84

Description

@shenxianpeng

The rust-based clang-tools-manager is out in the wild now. I'm not sure if it is recommended outside of a CI context though. It uses the following priority to source the clang tools' binaries:

  1. PyPI releases
  2. system-native package managers (apt, winget, dnf, homebrew, etc)
  3. static binaries

And it doesn't currently support clang-query at all, only clang-format and clang-tidy.

- **[clang-tools-manager](https://github.com/cpp-linter/cpp-linter-rs/tree/main/clang-tools-manager)**
  - use pre-built binaries with cargo-binstall:
    ```sh
    cargo binstall clang-tools-manager
    clang-tools -h
    ```
  - build from source code with cargo
    ```sh
    cargo install clang-tools-manager --locked --features bin
    clang-tools -h
    ```
  • clang-tools-manager
    • use pre-built binaries with cargo-binstall:
      cargo binstall clang-tools-manager
      clang-tools -h
    • build from source code with cargo
      cargo install clang-tools-manager --locked --features bin
      clang-tools -h

I suppose I should revise the README for better comprehension first.

Originally posted by @2bndy5 in #82 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions