38 Star 361 Fork 119

腾讯开源/QMUI-Android

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy.sh 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
cgspine 提交于 2022-03-31 11:40 . feat: update deploy bash.
#!/usr/bin/env bash
#./deploy.sh qmui publishToMavenLocal
#./deploy.sh arch publishToMavenLocal
#./deploy.sh type publishToMavenLocal
#./deploy.sh compose-core publishToMavenLocal
#./deploy.sh compose publishToMavenLocal
#./deploy.sh photo publishToMavenLocal
#./deploy.sh qmui publish
#./deploy.sh arch publish
#./deploy.sh type publish
#./deploy.sh compose-core publish
#./deploy.sh compose publish
#./deploy.sh photo publish
if [[ "qmui" == "$1" ]]
then
buildCmd="./gradlew :qmui:clean :qmui:build qmui:$2"
$buildCmd
elif [[ "arch" == "$1" ]]
then
buildCmd="./gradlew :arch:clean :arch:build :arch:$2"
$buildCmd
buildCmd="./gradlew :arch-annotation:clean :arch-annotation:build :arch-annotation:$2"
$buildCmd
buildCmd="./gradlew :arch-compiler:clean :arch-compiler:build :arch-compiler:$2"
$buildCmd
elif [[ "type" == "$1" ]]
then
buildCmd="./gradlew :type:clean :type:build :type:$2"
$buildCmd
elif [[ "compose-core" == "$1" ]]
then
buildCmd="./gradlew :compose-core:clean :compose-core:build :compose-core:$2"
$buildCmd
elif [[ "compose" == "$1" ]]
then
buildCmd="./gradlew :compose:clean :compose:build :compose:$2"
$buildCmd
elif [[ "photo" == "$1" ]]
then
buildCmd="./gradlew :photo:clean :photo:build :photo:$2"
$buildCmd
buildCmd="./gradlew :photo-coil:clean :photo-coil:build :photo-coil:$2"
$buildCmd
buildCmd="./gradlew :photo-glide:clean :photo-glide:build :photo-glide:$2"
$buildCmd
fi
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Android
1
https://gitee.com/Tencent/QMUI-Android.git
git@gitee.com:Tencent/QMUI-Android.git
Tencent
QMUI-Android
QMUI-Android
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385