Skip to content

Commit 70b52df

Browse files
committed
Add JAWSM
1 parent 753db77 commit 70b52df

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

helpers/jawsm.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
node ../jawsm/runner/index.js "$@"

scripts/engines/jawsm.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/sh
2+
3+
git clone https://github.com/drogus/jawsm.git --depth 1
4+
5+
cd jawsm
6+
git rev-parse HEAD >../version.txt
7+
8+
cargo build --release
9+
10+
cd ..
11+
12+
./scripts/test262.sh njs "$(pwd)/helpers/jawsm.sh" 8

0 commit comments

Comments
 (0)