forked from SeaQL/seaql.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
50 lines (44 loc) · 873 Bytes
/
build.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
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
set -e
# Build SeaORM docs
cd SeaORM
npm i
npm run build
[[ -d ../docs/SeaORM ]] && rm -r ../docs/SeaORM
mv build ../docs/SeaORM
cd ..
# # Build SeaQuery docs
# cd SeaQuery
# npm i
# npm run build
# [[ -d ../docs/SeaQuery ]] && rm -r ../docs/SeaQuery
# mv build ../docs/SeaQuery
# cd ..
# Build StarfishQL docs
cd StarfishQL
npm i
npm run build
[[ -d ../docs/StarfishQL ]] && rm -r ../docs/StarfishQL
mv build ../docs/StarfishQL
cd ..
# Build SeaQL blog
cd Blog
npm i
npm run build
[[ -d ../docs/blog ]] && rm -r ../docs/blog
mv build ../docs/blog
cd ..
# Build Seaography docs
cd Seaography
npm i
npm run build
[[ -d ../docs/Seaography ]] && rm -r ../docs/Seaography
mv build ../docs/Seaography
cd ..
# Build SeaStreamer docs
cd SeaStreamer
npm i
npm run build
[[ -d ../docs/SeaStreamer ]] && rm -r ../docs/SeaStreamer
mv build ../docs/SeaStreamer
cd ..