15 Commits (7830461ac5dc188dce6d4fec29fdd3acbd809bb2)

Author SHA1 Message Date
Adriaan de Groot ea8f5afc3c CI: clang-format 7 is no longer supported 3 years ago
Adriaan de Groot 3b9c0bdf91 CI: don't allow clang-format 7 any more 4 years ago
Adriaan de Groot 697ee6f65f CI: accept clang-format90 (FreeBSD naming style) 4 years ago
Adriaan de Groot 17914b9cf9 CI: adjust to clang-format-10 automatically
- leave clang-format file alone, but dynamically
  modify it when clang-format 10 or later is present
- ignore the resulting .bak file
4 years ago
Adriaan de Groot 0ee0f40816 REUSE: license tags for the scripts and tools in ci/
- remove empty useless HACKING
- remove unused cppcheck.sh
- migrate the AppImage docs to the wiki (which doesn't moan about licensing)
- try a HTML-style comment in the RELEASE docs
4 years ago
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)
4 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)
4 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
5 years ago
Adriaan de Groot d220fcea24 CI: allow different versions of clang-format 5 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.
5 years ago
Adriaan de Groot 1859808227 Move development-related scripts, tools, into ci/ 7 years ago