cleanup: Always use dangling commas in meson.build
This is meson's default formatting, and matches what we already
do in JS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/353>
(cherry picked from commit 720933b08e)
This commit is contained in:
@@ -30,7 +30,7 @@ foreach name: session_desktops
|
||||
po_dir: '../po',
|
||||
install: true,
|
||||
install_dir: session_instdir,
|
||||
type: 'desktop'
|
||||
type: 'desktop',
|
||||
)
|
||||
endforeach
|
||||
|
||||
@@ -47,7 +47,7 @@ configure_file(
|
||||
input: mode_file + '.in',
|
||||
output: mode_file,
|
||||
configuration: mode_conf,
|
||||
install_dir: modedir
|
||||
install_dir: modedir,
|
||||
)
|
||||
|
||||
classic_override = '00_org.gnome.shell.extensions.classic.gschema.override'
|
||||
|
||||
10
meson.build
10
meson.build
@@ -5,7 +5,7 @@
|
||||
project('gnome-shell-extensions',
|
||||
version: '47.1',
|
||||
meson_version: '>= 1.1.0',
|
||||
license: 'GPL-2.0-or-later'
|
||||
license: 'GPL-2.0-or-later',
|
||||
)
|
||||
|
||||
gettext_domain = meson.project_name()
|
||||
@@ -34,7 +34,7 @@ classic_extensions = [
|
||||
'apps-menu',
|
||||
'places-menu',
|
||||
'launch-new-instance',
|
||||
'window-list'
|
||||
'window-list',
|
||||
]
|
||||
|
||||
default_extensions = classic_extensions
|
||||
@@ -45,14 +45,14 @@ default_extensions += [
|
||||
'status-icons',
|
||||
'system-monitor',
|
||||
'windowsNavigator',
|
||||
'workspace-indicator'
|
||||
'workspace-indicator',
|
||||
]
|
||||
|
||||
all_extensions = default_extensions
|
||||
all_extensions += [
|
||||
'auto-move-windows',
|
||||
'native-window-placement',
|
||||
'user-theme'
|
||||
'user-theme',
|
||||
]
|
||||
|
||||
enabled_extensions = get_option('enable_extensions')
|
||||
@@ -91,7 +91,7 @@ if classic_mode_enabled
|
||||
subdir('data')
|
||||
meson.add_install_script(
|
||||
'meson/session-post-install.py',
|
||||
join_paths(get_option('prefix'), datadir)
|
||||
join_paths(get_option('prefix'), datadir),
|
||||
)
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user