Meta+Userland: Run the GML formatter on CI and pre-commit

Now that the GML formatter is both perserving comments and also mostly
agrees to the existing GML style, it can be used to auto-format all the
GML files in the system. This commit does not only contain the scripts
for running the formatting on CI and the pre-commit hook, but also
initially formats all the existing GML files so that the hook is
successfull.
This commit is contained in:
kleines Filmröllchen 2022-02-05 14:31:48 +01:00 committed by Andreas Kling
commit 6ee597369d
Notes: sideshowbarker 2024-07-18 04:38:32 +09:00
60 changed files with 221 additions and 552 deletions

View file

@ -1,6 +1,5 @@
@GUI::Frame {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
spacing: 4
margins: [4, 4, 4, 4]
@ -18,8 +17,8 @@
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout
shrink_to_fit: true
shrink_to_fit: true
@GUI::Label {
name: "line_and_col_label"
text: "Line: 1, Col: 0"