mirror of https://github.com/sveltejs/svelte
parent
f84412c1b6
commit
efcc70a26f
@ -1,9 +1,17 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
git clone https://github.com/PaulBGD/svelte-bench.git ./tmp/svelte-bench
|
DIR=./tmp/svelte-bench
|
||||||
cd ./tmp/svelte-bench
|
REPO=https://github.com/PaulBGD/svelte-bench.git
|
||||||
|
|
||||||
|
if [ ! -d $DIR ]; then
|
||||||
|
git clone $REPO $DIR
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd $DIR
|
||||||
|
git pull origin selenium
|
||||||
git checkout selenium
|
git checkout selenium
|
||||||
|
|
||||||
yarn
|
yarn
|
||||||
yarn run build:benchmarks
|
yarn run build:benchmarks
|
||||||
node ./selenium/run.js "$@"
|
node ./selenium/run.js "$@"
|
||||||
|
Loading…
Reference in new issue