Skip to content

Commit

Permalink
Merge pull request #491 from ariya/fix-browser-test
Browse files Browse the repository at this point in the history
Workaround the problem of creating escodegen browser bundle (#489)
  • Loading branch information
gotwarlost committed Nov 24, 2015
2 parents b10069e + 97459a8 commit b8f2e8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions download-escodegen-browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ then
rm -rf __escodegen_clone__
git clone --branch ${ESCG_VERSION} https://github.com/estools/escodegen.git __escodegen_clone__
cd __escodegen_clone__

# Temporarily ignore missing package, see #489
perl -i -ne '/esprima\-moz/ or print' package.json

npm i && npm run build-min
mv escodegen.browser.min.js ../${OUT_FILE}
cd -
Expand Down

0 comments on commit b8f2e8d

Please sign in to comment.