libinput/quirks/test-quirks-in-meson.build.sh
Peter Hutterer 90073ea07a quirks: add a test to make sure all our quirks files are listed in meson
Simple diff between the file list and what ls gives us in the quirks
directory.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 72b3f657c4)
2019-04-08 17:25:10 +10:00

5 lines
130 B
Bash
Executable file

#!/bin/bash -e
pushd "$1" > /dev/null
diff -u1 <(grep -o 'quirks/.*\.quirks' meson.build) <(ls quirks/*.quirks)
popd > /dev/null