Skip to content

Commit b7c3003

Browse files
committed
fix: format meson files
1 parent aef193c commit b7c3003

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

subprojects/packagefiles/discord_social_sdk/android/meson.build

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,16 @@ if not fs.exists(destination_directory)
2323

2424
run_command(
2525
mkdir,
26-
'-pv', destination_directory,
26+
'-pv',
27+
destination_directory,
2728
check: true,
2829
)
2930

3031
run_command(
3132
unzip,
3233
aar_file,
33-
'-d', destination_directory,
34+
'-d',
35+
destination_directory,
3436
check: true,
3537
)
3638

subprojects/packagefiles/discord_social_sdk/meson.build

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ if not meson.is_cross_build()
2626
if host_machine.cpu_family() in ['aarch64', 'x86_64']
2727
lib_base_dir = 'lib'
2828
else
29-
error(
30-
'unsupported architecture for macos: '
31-
+ host_machine.cpu_family(),
32-
)
29+
error('unsupported architecture for macos: '
30+
+ host_machine.cpu_family())
3331
endif
3432

3533
elif host_machine.system() == 'linux'
@@ -64,27 +62,22 @@ if not meson.is_cross_build()
6462
endif
6563

6664
else
67-
error(
68-
'unsupported architecture for linux: '
69-
+ host_machine.cpu_family(),
70-
)
65+
error('unsupported architecture for linux: '
66+
+ host_machine.cpu_family())
7167
endif
7268
elif host_machine.system() == 'windows'
7369
if host_machine.cpu_family() == 'x86_64'
7470
lib_base_dir = get_option('default_library') == 'static' ? 'bin' : 'lib'
7571
else
76-
error(
77-
'unsupported architecture for windows: '
78-
+ host_machine.cpu_family(),
79-
)
72+
error('unsupported architecture for windows: '
73+
+ host_machine.cpu_family())
8074
endif
8175
else
8276
error('unsupported system: ' + host_machine.system())
8377
endif
8478

85-
lib_dir = (
86-
lib_base_dir / (get_option('buildtype') == 'release' ? 'release' : 'debug')
87-
)
79+
lib_dir = (lib_base_dir / (get_option('buildtype') == 'release' ? 'release' : 'debug')
80+
)
8881

8982
c = meson.get_compiler('c')
9083

0 commit comments

Comments
 (0)