SIGN IN SIGN UP
flameshot-org / flameshot UNCLAIMED

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

0 0 70 C++

Exclude the `external` directory with a `.clang-format` file.

(I copied this trick from https://stackoverflow.com/a/57272592/1739415)

The GitHub clang-format workflow was already ignoring the `external`
directory because of the setting in the `clang-format.yml` file, but
that doesn't help other people running `clang-format` by hand (which the
CONTRIBUTING.md file instructs developers to do). Without this change,
I'd see a bunch of changes appear in the `external/spdlog` every time I
ran clang-format by hand.

I figure it's better to configure this via files that clang knows about
so both the GitHub workflow *and* developers have a closer to identical
experience.
J
Jeremy Fleischman committed
5a9ca6bd111d15ab083828262169eec951ede775
Parent: f482596
Committed by borgmanJeremy <46930769+borgmanJeremy@users.noreply.github.com> on 2/12/2021, 1:22:54 AM