mirror of
https://gitlab.freedesktop.org/wlroots/wlr-protocols.git
synced 2026-01-06 11:50:11 +01:00
Check all protocols in strict mode when building
This commit is contained in:
parent
c73ec02b29
commit
0b86c390ca
2 changed files with 11 additions and 3 deletions
|
|
@ -6,6 +6,4 @@ sources:
|
|||
tasks:
|
||||
- protocols: |
|
||||
cd sway-protocols
|
||||
wayland-scanner client-header < unstable/surface-layers.xml
|
||||
wayland-scanner server-header < unstable/surface-layers.xml
|
||||
wayland-scanner code < unstable/surface-layers.xml
|
||||
./check.sh
|
||||
|
|
|
|||
10
check.sh
Executable file
10
check.sh
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
for f in $(echo unstable/*.xml); do
|
||||
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
|
||||
Loading…
Add table
Reference in a new issue