Skip to content

specify which tool(s) to install #27

Closed
@2bndy5

Description

@2bndy5

It would be nice to let the user choose which tool(s) to install. This way we could only install clang-tidy in the cpp-linter-action (composite form) if inputs.tidy-checks != '-*. Or we could avoid installing clang-format if the inputs.style != ''.

Since the releases of binary builds also include the clang-query tool, users could specify that as well.

Implementation

Option 1

clang-tools -t clang-format -t clang-tidy -t clang-query

Option 2

clang-tools -t clang-format,clang-tidy,clang-query

I haven't decided which way to support. Maybe there's a way to support either or both options.

I would expect the current default ( clang-tidy + clang-format) to be overridden when -t is specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions