-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·31 lines (26 loc) · 870 Bytes
/
Makefile
File metadata and controls
executable file
·31 lines (26 loc) · 870 Bytes
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
all: static roc_toolkit rocd roc_droid
clean:
rm -rf build dist
.PHONY: static
static:
mkdir -p dist
cp -a static/. dist/
roc_toolkit:
rm -rf build/roc-toolkit dist/toolkit
mkdir -p build dist
git clone --depth 1 https://github.com/roc-streaming/roc-toolkit.git build/roc-toolkit
build/roc-toolkit/scripts/make_doc.sh
cp -a build/roc-toolkit/docs/html dist/toolkit
rocd:
rm -rf build/rocd dist/rocd
mkdir -p build dist/rocd
git clone --depth 1 https://github.com/roc-streaming/rocd.git build/rocd
build/rocd/script/generate_docs.py
cp -a build/rocd/site dist/rocd/docs
cp -a build/rocd/openapi dist/rocd/oapi
roc_droid:
rm -rf build/roc-droid dist/droid
mkdir -p build dist
git clone --depth 1 -b flutter https://github.com/roc-streaming/roc-droid.git build/roc-droid
build/roc-droid/script/generate_docs.py
cp -a build/roc-droid/site dist/droid