fune/servo/components/script/dom/bindings/codegen/parser/update.sh
AgostonSzepessy 4fc3b7fe82 servo: Merge #9890 - update.sh downloads all *.py tests from mozilla central (from AgostonSzepessy:update-webidl-tests); r=nox
components/script/dom/bindings/codegen/parser/update.sh downloads all *.py tests from https://dxr.mozilla.org/mozilla-central/source/dom/bindings/parser/tests

Source-Repo: https://github.com/servo/servo
Source-Revision: b054cb82a6b50b07209c9a8670076d1d9ed61605
2016-05-09 05:04:57 -07:00

10 lines
410 B
Bash
Executable file

wget https://mxr.mozilla.org/mozilla-central/source/dom/bindings/parser/WebIDL.py?raw=1 -O WebIDL.py
patch < abstract.patch
patch < debug.patch
patch < legacy-unenumerable-named-properties.patch
wget https://hg.mozilla.org/mozilla-central/archive/tip.tar.gz/dom/bindings/parser/tests/ -O tests.tar.gz
rm -r tests
mkdir tests
tar xvpf tests.tar.gz -C tests --strip-components=5
rm tests.tar.gz WebIDL.py.orig