-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-examples.sh
executable file
·37 lines (31 loc) · 1.36 KB
/
build-examples.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
26
27
28
29
30
31
32
33
34
35
36
37
rm -rf public/is
cd examples/react-router-project
BASENAME=/is/react-router-project npm run build
mkdir -p ../../public/is/react-router-project
mv dist/* ../../public/is/react-router-project
cd ../remix-project
BASENAME=/is/remix-project npm run build
mkdir -p ../../public/is/remix-project
mv build/client/* ../../public/is/remix-project
BASENAME=/is/remix-project/preview npm run build
mkdir -p ../../public/is/remix-project/preview
mv build/client/* ../../public/is/remix-project/preview
BASENAME=/is/remix-project/example.com npm run build
mkdir -p ../../public/is/remix-project/example.com
mv build/client/* ../../public/is/remix-project/example.com
BASENAME=/is/remix-project/acme.com npm run build
mkdir -p ../../public/is/remix-project/acme.com
mv build/client/* ../../public/is/remix-project/acme.com
cd ../vite-project
BASENAME=/is/vite-project npm run build
mkdir -p ../../public/is/vite-project
mv dist/* ../../public/is/vite-project
BASENAME=/is/vite-project/preview npm run build
mkdir -p ../../public/is/vite-project/preview
mv dist/* ../../public/is/vite-project/preview
BASENAME=/is/vite-project/example.com npm run build
mkdir -p ../../public/is/vite-project/example.com
mv dist/* ../../public/is/vite-project/example.com
BASENAME=/is/vite-project/acme.com npm run build
mkdir -p ../../public/is/vite-project/acme.com
mv dist/* ../../public/is/vite-project/acme.com