Commit 115d2ce8 authored by Vivia Nikolaidou's avatar Vivia Nikolaidou 🦆
parent 8bc2cbd6
#!/bin/bash
set -x -e
# https://github.com/gtk-rs/gir-files/blob/master/reformat.sh
# `///` used as `//` not works in Windows in this case
for file in *.gir; do
xmlstarlet ed -P -L \
-d '//_:doc/@line' \
-d '//_:doc/@filename' \
-d '///_:source-position' \
"$file"
done
# replace wayland structures to gpointers
xmlstarlet ed --pf --inplace \
--update '//*[@c:type="wl_display*"]/@c:type' \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment