* Add support for rhino as a compilation target * Add tests for target: rhino * Fix test failing due to whitespace * Keep consistent names for rhino tests in babel 7 and 8 * Bump core-js-compat to 3.15.0 * Change references to rhino to include patch version * Update compat table data import * Split transpilation of arrow function features more finely * Rename rhino fixtures to include the patch number and update to include syntax that is and isn't supported for better testing * Only use the relevant features for transform-new-target and transform-classes
21 lines
511 B
Bash
Executable File
21 lines
511 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
COMPAT_TABLE_COMMIT=63abfe227f4b9c6ef019efbbf059025b537b8511
|
|
GIT_HEAD=build/compat-table/.git/HEAD
|
|
|
|
if [ -d "build/compat-table" ]; then
|
|
cd build/compat-table
|
|
commit="$(git rev-parse HEAD)"
|
|
cd ../..
|
|
|
|
if [ $commit == $COMPAT_TABLE_COMMIT ]; then
|
|
exit 0
|
|
fi
|
|
fi
|
|
|
|
rm -rf build/compat-table
|
|
mkdir -p build
|
|
git clone --single-branch --shallow-since=2020-04-01 https://github.com/kangax/compat-table.git build/compat-table
|
|
cd build/compat-table && git checkout -q $COMPAT_TABLE_COMMIT
|