1 Star 0 Fork 31

Bubble/信号实验箱

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pack_release.sh 789 Bytes
一键复制 编辑 原始数据 按行查看 历史
#! /bin/bash
# 1. 确定包名
package_name=$1
iskeepDir=$2
if [ -z $package_name ]; then
echo "Please input a version code (for example \"2.2.0\")"
read package_name
fi
package_name="signal-test-box-v"$package_name
if [ -d $package_name ]; then
echo "Package directory: $package_name already exists, operation abort!"
exit -1
fi
# 2. 拷贝exe和demo文件
mkdir $package_name
cp build/signalBox.exe $package_name
cp readme.md $package_name
cp -r matlab_coefficient_demo $package_name
cp -r workspace_demo $package_name
# 3. 拷贝共享库
pushd $package_name
mkdir lib
cp ../build/lib/*.dll lib
windeployqt signalBox.exe
popd
# 4. 打成zip包
zip -r9 $package_name".zip" $package_name
# 5. 清理工作目录
if [ ! $iskeepDir ]; then
rm -r $package_name
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/Ms_bubble/signal-test-box.git
git@gitee.com:Ms_bubble/signal-test-box.git
Ms_bubble
signal-test-box
信号实验箱
master

搜索帮助