libinput/quirks/test-quirks-in-meson.build.sh
Peter Hutterer 72b3f657c4 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>
2019-04-01 09:22:43 +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