10 Commits (86f66e8f16bef687682e4203b7cd3c284e0672fa)

Author SHA1 Message Date
Adriaan de Groot 4a45eb847d CI: fix edge cases for calamaresstyle
- no format-10
- skip empty directories (otherwise astyle gets no file-paramaters
  and then hangs on stdin)
5 years ago
Adriaan de Groot 45aac7db66 CI: update clang-format
In clang-format 10, SpaceInEmptyBlock is introduced, and defaults to
true .. which is different from the earlier formatting versions did.
For now, refuse clang-format 10, and search specifically also for
clang-format-9.0.1 because that's what I have on my laptop.

At some point, switch in the config option and then require
clang-format 10 or later (because earlier versions refuse to
run with an unknown config option)
5 years ago
Adriaan de Groot 24d0ca6f8e CI: don't be so chatty while looking for clang-format 5 years ago
Adriaan de Groot 0f8751497e CI: give tooling a standard LANG environment 5 years ago
Adriaan de Groot a403f1e851 CI: allow plain clang-format (Tumbleweed) 5 years ago
Adriaan de Groot fae1fdae1c CI: allow meaningful error messages
- Move set -e down in the script so that the error-handling
   at the top (which prints meaningful error messages) isn't
   short-circuited by the -e.
5 years ago
Adriaan de Groot fa676c573e CI: Fix style script
- when passing in more than one directory, expanded the wrong variable
6 years ago
Adriaan de Groot d220fcea24 CI: allow different versions of clang-format 6 years ago
Adriaan de Groot 8053bf6f3a CI: use both tools for code-formatting
- astyle can do some things that clang-format doesn't (e.g.
   adding brackets; you need clang-tidy for that),
 - clang-format does a much nicer job with lambdas and certain
   other constructions,
 - allow passing in directories at a time for formatting.
6 years ago
Adriaan de Groot 1859808227 Move development-related scripts, tools, into ci/ 8 years ago