Skip to content

Commit

Permalink
Update webidl2.js (#31699)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger authored Nov 23, 2021
1 parent 8e786e0 commit c8bd9c9
Show file tree
Hide file tree
Showing 4 changed files with 140 additions and 73 deletions.
12 changes: 12 additions & 0 deletions resources/webidl2/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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
2 changes: 0 additions & 2 deletions resources/webidl2/lib/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
This directory contains a built version of the [webidl2.js library](https://github.com/w3c/webidl2.js).
It is built by running `npm run build-debug` at the root of that repository.

Currently using [email protected] (372ea83eaa10f60adff49bd0f4f3ce6a11d6fbec).

The `webidl2.js.headers` file is a local addition to ensure the script is interpreted as UTF-8.
1 change: 1 addition & 0 deletions resources/webidl2/lib/VERSION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Currently using webidl2.js@1fd6709ef9311f2ea0ed4ff0016ecf6f5d615104.
Loading

0 comments on commit c8bd9c9

Please sign in to comment.