Files
react/compiler/forget/packages/babel-plugin-react-forget/scripts/test262.sh
T
Lauren Tan 40d1459115 Scaffold workspaces
![image](https://github.com/facebook/react-forget/assets/1390709/bb27e33f-6a88-4b71-8ce2-aeb8db0372f7) 

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
2023-06-05 13:35:39 -04:00

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