-
Notifications
You must be signed in to change notification settings - Fork 357
/
init.sh
25 lines (18 loc) · 920 Bytes
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
PLAYER_TEST_DIR=`pwd`
PLAYER_TEST_DIR_DIST="$PLAYER_TEST_DIR/dist"
PLAYER_TEST_DIR_DIST_MULTI="$PLAYER_TEST_DIR/dist-multi-thread"
PLAYER_TEST_DIR_EXP_NORMAL="${PLAYER_TEST_DIR}/example_normal"
PLAYER_TEST_DIR_VUE3_VITE="${PLAYER_TEST_DIR}/example_vue3_vite"
PLAYER_TEST_DIR_VUE3="${PLAYER_TEST_DIR}/example_vue3"
PLAYER_TEST_DIR_VUE2="${PLAYER_TEST_DIR}/example_vue2"
rm -rf $PLAYER_TEST_DIR_EXP_NORMAL/dist
cp -r $PLAYER_TEST_DIR_DIST $PLAYER_TEST_DIR_EXP_NORMAL/
rm -rf $PLAYER_TEST_DIR_EXP_NORMAL/dist-multi-thread
cp -r $PLAYER_TEST_DIR_DIST_MULTI $PLAYER_TEST_DIR_EXP_NORMAL/
rm -rf $PLAYER_TEST_DIR_VUE3_VITE/public/dist
cp -r $PLAYER_TEST_DIR_DIST $PLAYER_TEST_DIR_VUE3_VITE/public/dist
rm -rf $PLAYER_TEST_DIR_VUE3/public/dist
cp -r $PLAYER_TEST_DIR_DIST $PLAYER_TEST_DIR_VUE3/public/dist
rm -rf $PLAYER_TEST_DIR_VUE2/public/dist
cp -r $PLAYER_TEST_DIR_DIST $PLAYER_TEST_DIR_VUE2/public/dist