1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 15:57:36 +00:00

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
parent 32de6dde4c
commit 6ee597369d
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 {
margins: [10]
spacing: 5
@ -9,7 +8,6 @@
@GUI::GroupBox {
title: "Cursor speed"
fixed_height: 106
layout: @GUI::VerticalBoxLayout {
margins: [6]
spacing: 2
@ -58,7 +56,6 @@
@GUI::GroupBox {
title: "Scroll wheel step size"
fixed_height: 106
layout: @GUI::VerticalBoxLayout {
margins: [6]
spacing: 2
@ -104,15 +101,13 @@
fixed_width: 100
}
@GUI::Widget {
}
@GUI::Widget
}
}
@GUI::GroupBox {
title: "Double-click speed"
fixed_height: 106
layout: @GUI::VerticalBoxLayout {
margins: [6]
spacing: 2
@ -162,7 +157,6 @@
@GUI::GroupBox {
title: "Button configuration"
fixed_height: 68
layout: @GUI::VerticalBoxLayout {
margins: [16, 8, 8]
spacing: 2