wlr-protocols/check.sh
Simon Ser 07587c61c4 build: pass filenames to check.sh
This ensures in `make check` that $(unstable_protocols) is not
broken.
2022-06-08 17:38:46 +00:00

10 lines
254 B
Bash
Executable file

#!/bin/sh -eu
for f in "$@"
do
echo >&2 "Checking $f"
wayland-scanner -s client-header "$f" /dev/null
wayland-scanner -s server-header "$f" /dev/null
wayland-scanner -s public-code "$f" /dev/null
wayland-scanner -s private-code "$f" /dev/null
done