-
Notifications
You must be signed in to change notification settings - Fork 475
Expand file tree
/
Copy pathpublish.sh
More file actions
executable file
·32 lines (18 loc) · 817 Bytes
/
publish.sh
File metadata and controls
executable file
·32 lines (18 loc) · 817 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
32
#!/usr/bin/env bash
set -e
cd $(dirname "$0")
echo "Publishing CGE..."
# 总共有两个参数, 交叉起来四个版本
# 1. Has video module or not
# 2. 16kb page size or not
bash -e ./tasks.sh --setup-project --enable-cmake --release
# Step1 no video, no 16kb
bash -e ./tasks.sh --disable-video-module --disable-16kb-page-size --no-install --build --publish
# Step2 no video, 16kb
bash -e ./tasks.sh --disable-video-module --enable-16kb-page-size --no-install --build --publish
# Step3 video, no 16kb
bash -e ./tasks.sh --enable-video-module --disable-16kb-page-size --no-install --build --publish
# Step4 video, 16kb
bash -e ./tasks.sh --enable-video-module --enable-16kb-page-size --no-install --build --publish
# Done
echo "Publishing CGE done. See: $(cat local.properties | grep 'localRepoDir')"