Debian Codegraph @

testing/web-platform/tests/resources/webidl2/build.sh

raw
1 set -ex
2
3 if [ ! -d "webidl2.js" ]; then
4 git clone https://github.com/w3c/webidl2.js.git
5 fi
6 cd webidl2.js
7 npm install
8 npm run build-debug
9 HASH=$(git rev-parse HEAD)
10 cd ..
11 cp webidl2.js/dist/webidl2.js lib/
12 echo "Currently using webidl2.js@${HASH}." > lib/VERSION.md