servo/components/script/dom/bindings/codegen/parser/update.sh
2023-02-20 06:15:54 +01:00

13 lines
435 B
Bash
Executable file

wget https://hg.mozilla.org/mozilla-central/raw-file/tip/dom/bindings/parser/WebIDL.py -O WebIDL.py
patch < abstract.patch
patch < debug.patch
patch < callback-location.patch
patch < union-typedef.patch
patch < inline.patch
patch < readable-stream.patch
wget https://hg.mozilla.org/mozilla-central/archive/tip.zip/dom/bindings/parser/tests/ -O tests.zip
rm -r tests
mkdir tests
unzip -d tests -j tests.zip
rm tests.zip WebIDL.py.orig