mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
 This is an attempt to scaffold yarn workspaces into our repo with as minimal as possible changes to our current setup and directory structure. Essentially this PR moves current `src` into `packages/babel-plugin-react-forget` as a first step to keep everything working. Later on when we're ready we can split out a `react-compiler` package that is decoupled from Babel, but it's too early for that now
13 lines
469 B
Bash
Executable File
13 lines
469 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eo pipefail
|
|
|
|
TMPFILE=$(mktemp /tmp/forget-test262-XXXXX)
|
|
|
|
yarn workspace babel-plugin-react-forget run --silent test262-harness \
|
|
--threads=10 \
|
|
--preprocessor=scripts/test262-preprocessor.js \
|
|
--reporter=json \
|
|
--reporter-keys=file,result \
|
|
'../../test262/test/**/*.js' >> $TMPFILE
|
|
|
|
jq '. | group_by(.result.pass,.result.message) | map({"pass": .[0].result.pass, "message": .[0].result.message, "count": length}) | tostring' $TMPFILE |