Skip to content

Commit 7f89a14

Browse files
authored
Add material-ui docs scenario (#6)
1 parent b9f3e1a commit 7f89a14

File tree

4 files changed

+32
-0
lines changed

4 files changed

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

cases/scenarios/mui-docs/setup.sh

+17
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/mui/material-ui.git $SOLUTION_DIR
11+
fi
12+
13+
cd $SOLUTION_DIR
14+
git clean -fdx
15+
git reset --hard HEAD
16+
git switch --detach 48a29227cb737c6f008a62f9c8c4c47aedd99c43
17+
pnpm install --ignore-scripts

cases/solutions/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/vscode/
22
/self-compiler/
33
/self-build-src/
4+
/mui-docs/

scripts/src/generateMatrix.ts

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const scenarioConfig = {
4343
{ name: "vscode", agent: "ts-perf1", location: "public" },
4444
{ name: "self-compiler", agent: "ts-perf2", location: "public" },
4545
{ name: "self-build-src", agent: "ts-perf3", location: "public" },
46+
{ name: "mui-docs", agent: "ts-perf1", location: "public" },
4647
],
4748
tsserver: [
4849
{ name: "Compiler-UnionsTSServer", agent: "ts-perf1", location: "internal" },

0 commit comments

Comments
 (0)