Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: update es5bench to be download an ES5 version of Ohm
  • Loading branch information
pdubroy committed Jan 15, 2022
1 parent 291e9b7 commit 840b3be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/es5bench
@@ -1,4 +1,6 @@
#!/bin/bash

ROOT=$(npm prefix)
node "$ROOT/examples/ecmascript/compile.js" -b "$ROOT/packages/ohm-js/dist/ohm.js" > /dev/null
cd $(mktemp -d)
curl --silent https://unpkg.com/ohm-js@15.3.0/dist/ohm.js -o ohm-es5.js
node "$ROOT/examples/ecmascript/compile.js" -b "ohm-es5.js" > /dev/null

0 comments on commit 840b3be

Please sign in to comment.