mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:27:45 +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:
parent
32de6dde4c
commit
6ee597369d
60 changed files with 221 additions and 552 deletions
|
@ -1,12 +1,9 @@
|
|||
@GUI::Widget {
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@GUI::ToolbarContainer {
|
||||
|
||||
@GUI::Toolbar {
|
||||
name: "toolbar"
|
||||
|
||||
@GUI::Label {
|
||||
text: "Columns: "
|
||||
autosize: true
|
||||
|
@ -19,8 +16,7 @@
|
|||
fixed_width: 40
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator {
|
||||
}
|
||||
@GUI::VerticalSeparator
|
||||
|
||||
@GUI::Label {
|
||||
text: "Rows: "
|
||||
|
@ -34,8 +30,7 @@
|
|||
fixed_width: 40
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator {
|
||||
}
|
||||
@GUI::VerticalSeparator
|
||||
|
||||
@GUI::Label {
|
||||
text: "Update Speed: "
|
||||
|
@ -54,8 +49,7 @@
|
|||
autosize: true
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator {
|
||||
}
|
||||
@GUI::VerticalSeparator
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@Hearts::Game {
|
||||
name: "game"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
margins: [4]
|
||||
}
|
||||
|
@ -8,7 +7,6 @@
|
|||
@GUI::GroupBox {
|
||||
title: "Field"
|
||||
autosize: true
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
margins: [16, 6, 6]
|
||||
}
|
||||
|
@ -25,9 +23,8 @@
|
|||
fixed_width: 40
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator {
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator
|
||||
|
||||
@GUI::Label {
|
||||
text: "Rows: "
|
||||
autosize: true
|
||||
|
@ -40,8 +37,7 @@
|
|||
fixed_width: 40
|
||||
}
|
||||
|
||||
@GUI::VerticalSeparator {
|
||||
}
|
||||
@GUI::VerticalSeparator
|
||||
|
||||
@GUI::Label {
|
||||
text: "Mines: "
|
||||
|
@ -58,12 +54,9 @@
|
|||
|
||||
@GUI::Widget {
|
||||
max_height: 24
|
||||
layout: @GUI::HorizontalBoxLayout
|
||||
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
}
|
||||
|
||||
@GUI::Widget {
|
||||
}
|
||||
@GUI::Widget
|
||||
|
||||
@GUI::Button {
|
||||
name: "ok_button"
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@Solitaire::Game {
|
||||
name: "game"
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
@GUI::Widget {
|
||||
fill_with_background_color: true
|
||||
|
||||
layout: @GUI::VerticalBoxLayout {
|
||||
}
|
||||
layout: @GUI::VerticalBoxLayout
|
||||
|
||||
@Spider::Game {
|
||||
name: "game"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue