arch-packages/spot-client/disable-clippy.patch

25 lines
537 B
Diff
Raw Permalink Normal View History

2022-03-08 12:08:50 +01:00
diff --git a/src/meson.build b/src/meson.build
index 900f3fa..e08b062 100644
2022-03-08 12:08:50 +01:00
--- a/src/meson.build
+++ b/src/meson.build
@@ -149,19 +149,3 @@ test('Unit tests',
timeout: 180,
env: env
2022-03-08 12:08:50 +01:00
)
-
-test('Clippy',
- cargo,
2022-03-08 12:08:50 +01:00
- args: [
- 'clippy',
- '--manifest-path', cargo_manifest,
- '--target-dir', meson.project_build_root() / 'src',
- '--',
- '-D', 'warnings',
- '-A', 'clippy::module_inception',
- '-A', 'clippy::new_without_default',
- '-A', 'clippy::enum-variant-names'
2022-03-08 12:08:50 +01:00
- ],
- timeout: 180,
- env: env
2022-03-08 12:08:50 +01:00
-)