Skip to content

Commit a51f28f

Browse files
committed
add babel
1 parent 8778a65 commit a51f28f

File tree

3 files changed

+31
-0
lines changed

3 files changed

+31
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "babel",
3+
"kind": "tsc",
4+
"args": [
5+
"-p",
6+
"${suiteDirectory}/babel",
7+
"--outdir",
8+
"${outDirectory}"
9+
],
10+
"platforms": [
11+
"linux"
12+
]
13+
}

cases/scenarios/babel/setup.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/usr/bin/env bash
2+
3+
set -exo pipefail
4+
5+
cd "${0%/*}"
6+
SCENARIO_NAME=$(basename $PWD)
7+
SOLUTION_DIR=../../solutions/$SCENARIO_NAME
8+
9+
if ! test -d $SOLUTION_DIR; then
10+
git clone --filter blob:none https://github.com/babel/babel.git $SOLUTION_DIR
11+
fi
12+
13+
cd $SOLUTION_DIR
14+
git clean -fdx
15+
git reset --hard HEAD
16+
git switch --detach 00853017dda14778bdb9bafd651d2e6b64449e2a
17+
COREPACK_ENABLE_STRICT=0 corepack yarn@1.22.21 install --ignore-scripts

cases/solutions/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/self-build-src/
44
/mui-docs/
55
/webpack/
6+
/babel/

0 commit comments

Comments
 (0)