1
0
Fork 0
firefox/testing/web-platform/tests/resources/webidl2/build.sh
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

12 lines
267 B
Bash
Executable file

set -ex
if [ ! -d "webidl2.js" ]; then
git clone https://github.com/w3c/webidl2.js.git
fi
cd webidl2.js
npm install
npm run build-debug
HASH=$(git rev-parse HEAD)
cd ..
cp webidl2.js/dist/webidl2.js lib/
echo "Currently using webidl2.js@${HASH}." > lib/VERSION.md