1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:57:44 +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::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@ -12,8 +11,7 @@
}
@GUI::Widget {
layout: @GUI::VerticalBoxLayout {
}
layout: @GUI::VerticalBoxLayout
name: "icon_view_container"
}
@ -28,11 +26,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
}
layout: @GUI::HorizontalBoxLayout
max_height: 24
@GUI::Label {
text: "Name:"
text_alignment: "CenterLeft"
@ -45,11 +41,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
}
layout: @GUI::HorizontalBoxLayout
max_height: 24
@GUI::Label {
text: "Create in:"
text_alignment: "CenterLeft"
@ -69,11 +63,9 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
}
layout: @GUI::HorizontalBoxLayout
max_height: 24
@GUI::Label {
text: "Full path:"
text_alignment: "CenterLeft"
@ -92,13 +84,10 @@
}
@GUI::Widget {
layout: @GUI::HorizontalBoxLayout {
}
layout: @GUI::HorizontalBoxLayout
max_height: 24
@GUI::Widget {
}
@GUI::Widget
@GUI::Button {
name: "ok_button"