1 Star 0 Fork 19

路斐/deepin-autotest-framework

forked from deepin-community/youqu 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
publish.sh 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
mikigo 提交于 2024-04-25 10:48 +08:00 . fix: update docs
#!/bin/bash
# SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
# SPDX-License-Identifier: GPL-2.0-only
tmp_publish_dir_name=_youqu_publish_tmp_dir
cd ..
rm -rf ${tmp_publish_dir_name}
mkdir -p ${tmp_publish_dir_name}/youqu/apps/
ls youqu | grep -v apps | grep -v public | grep -v report| grep -v node_modules | xargs -i cp -r youqu/{} ${tmp_publish_dir_name}/youqu/
cp youqu/apps/__init__.py ${tmp_publish_dir_name}/youqu/apps/
ignores=(
.idea
.vscode
.pytest_cache
.reuse
pyproject.toml
publish.sh
deploy.sh
site
docs
README.en.md
CONTRIBUTING.md
LICENSE
RELEASE.md
mkdocs.yml
requirements*.txt
apps/autotest*
Pipfile
Pipfile.lock
ci_result.json
package.json
pnpm-lock.yaml
)
for i in ${ignores[*]}
do
rm -rf rm -rf ${tmp_publish_dir_name}/youqu/${i}
done
cp youqu/pyproject.toml ${tmp_publish_dir_name}/
cp youqu/src/startproject.py ${tmp_publish_dir_name}/youqu/
cd ${tmp_publish_dir_name}/
python3 -m build
#twine upload dist/*
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/ulufei/deepin-autotest-framework.git
git@gitee.com:ulufei/deepin-autotest-framework.git
ulufei
deepin-autotest-framework
deepin-autotest-framework
master

搜索帮助