1 Star 0 Fork 8

djkko_club/vertx-ui

forked from lang.yu/vertx-ui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run-doc.sh 843 Bytes
一键复制 编辑 原始数据 按行查看 历史
lang.yu 提交于 2021-03-03 15:09 . UI新
#!/usr/bin/env bash
# 两个环境变量,生成API文档的目录和API文档服务器的端口
export DOC_OUT=document
export PORT=1017
export PORT_EXTENSION=1231
echo -e "\033[32m[Zero UI]\033[0m Input command is \"\033[33m$1\033[0m\"!"
echo -e "Command List: "
echo -e " \033[33mdoc\033[0m = \"\033[34mGenerate document of Zero Ui & Zero Extension\033[0m\""
echo -e " \033[33mzero\033[0m = \"\033[34mRun Zero Ui on server ${PORT}\033[0m\""
echo -e " \033[33mextension\033[0m = \"\033[34mRun Zero Extension on server ${PORT_EXTENSION}\033[0m\""
if [ "doc" == "$1" ]; then
./scripts/zrun-doc-generate.sh
elif [ "extension" == "$1" ]; then
./scripts/zrun-doc-server.sh ${PORT_EXTENSION} doc-web-extension
elif [ "zero" == "$1" ]; then
./scripts/zrun-doc-server.sh ${PORT} doc-web
else
echo "Invalid input command of $1"
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/djkko/vertx-ui.git
git@gitee.com:djkko/vertx-ui.git
djkko
vertx-ui
vertx-ui
master

搜索帮助